Compiling with API commands

Compiling with API commands

I am developing and application that creates and compiles fortran code. The current version uses the createprocess API call to call the df.exe command. Is there a published API call to compile fortran code from the compaq digital fortran (or other) compiler, so I don't have to use the createprocess call?

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Is there a reason you want to avoid the method you described? I suppose you could get to Visual Studio through automation but that would be more work.


Ditto. I recommend the CreateProcess to run the DF command. It's the most straightforward way. You'll want to make sure that the Visual Fortran environment variables are set system-wide.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today