- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a whack of CGI code I have written & has been running under VMS for about 6 years. I need to move it to NT. Does anyone know what kind of project I need to set up in CVF such that it doesn't open up any kind of consol or window. I communicate with the web daemon via standard CGI environmental symbols & don't want any kind of IO set up or attached for me.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Fortran Windows Application". The main entry point is the WinMain routine, and you can do anything you like inside it. No windows or anything else will be created unless you create them. You can start with the sample application the project wizard creates and then just delete all the code that creates and manipulates the window.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While what Steve says is true I would instead recommend starting by simply compiling from the command line with defaults without re-organizing your code as would be required by changing it to a windows app. This way it should be trivial to keep your code the same for both operating systems. Then you just need to be sure the process is created without a window (for example start /b program does this from command line) and i/o is directed appropriately.
James
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A Standard Graphic Application will not open a window unless you specifically write to the terminal.
Greg
Greg

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page