Instructions to compile TestCMain with Absoft Pro Fortran
Using the make files provided with the tutorial:
Note: these files are located under the main directory of the tutorial
1) Open a command window in subdirectory APF_MakeFiles.
2) Run batch file Make_APFTestCMain.bat
Manually:
1) Open a command window in the directory where the source code is located
2) Issue the following compiler command (note this is a single line):
f90 -s ..\f90VBGUIUtils.f90 ..\APFTestCMain.f90 -o APFTestCMain.exe -p "%f90VBAPFModDir%" "%f90VBAPFLibDir%\f90VBBstrings.lib" "%f90VBAPFLibDir%\f90VBSafeArrays.lib" "%f90VBAPFLibDir%\f90VBVariants.lib" "%f90VBAPFLibDir%\f90VBAutomation.lib" user32.lib
Instructions to compile TestCMain with Compaq Visual Fortran