Software Archive
Read-only legacy content
17060 Discussions

SYNCHRONIZE ACCESS

Intel_C_Intel
Employee
465 Views
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?
0 Kudos
0 Replies
Reply