- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I'm trying to find the solution to the following problem: I have a console application that I want to link to from a Web Page, but any time I try to run it, it stops abruptly. It turns out that the application is looking for the external files (parameter file, etc.) in a VS directory rather than the directory where the console application resides.
Any suggestions for how to avoid this?
Thanks so much!
-- Kai :-)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you are running inside Visual Studio, the default directory for files is the project directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My desire is to invoke the fortran console application from a Website in such a way that the console application runs on the server until it is finished. There is no interactivity between the console application and the Website other than that the user can load a status file written by the console application as it continues to run.
What you say about the exe being copied to a temp folder makes sense as the system stops when it does not find the input files that it expects to find in the folder it was in before being copied to a temp directory.
Any and all ideas about how to solve this would be greatly appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://www.ruppweb.org/Xray/comp/cgi_prog.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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