- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an executable created in Visual Studio as a FORTRAN console application. I am starting this application from within another application with the CreateProcess API.
I would like to then use the WaitForSingleObject API to detect when this console process has ended. To do this it appears that Windows NT requires at least 'SYNCHRONIZE' access to that process (see SDK notes on the OpenProcess API).
Right now I do not have this type of access.
Any thoughts on what can be done in Fortran at compile time to insure that I can get the 'SYNCHRONIZE' access?
I would like to then use the WaitForSingleObject API to detect when this console process has ended. To do this it appears that Windows NT requires at least 'SYNCHRONIZE' access to that process (see SDK notes on the OpenProcess API).
Right now I do not have this type of access.
Any thoughts on what can be done in Fortran at compile time to insure that I can get the 'SYNCHRONIZE' access?
Link Copied
0 Replies
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