Our existing F77 code base uses the following to create a windows executable:
integer function WinMain( hInstance,hPrevInstance,lpCmdLine,
. nCmdShow)
use msfwina
! For Windows Execution
integer hInstance
integer hPrevInstance
integer lpCmdLine
integer nCmdShow
!MS$ ATTRIBUTES STDCALL ,ALIAS : '_WinMain@16' :: WinMain
!!!!!!! CODE !!!!!!!!!!!!!!!!!!!!!!!!
WinMain = 0
END
I see inside win32api.ins there is a 'STDCALL WINMAIN 'WinMain' (VAL,VAL,STRING,VAL):INTEGER*4'
How can I convert the above code to use with FTN95 .Net to create a windows executable?