I am trying to get a console application to display and run in the same window as a parent quickwin application. I am using the code below:
StartupInfo = T_STARTUPINFO(SIZEOF(StartupInfo),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
print *,'What is the name of the executable to run?'
read '(a)',exec_name
ret = CreateProcess (NULL_CHARACTER, exec_name, null_security_attributes, null_security_attributes, true, 0,null, null, startupinfo, processinfo)
Whenever I complie and run my quickwin application, the console applicaiton that I call starts in it's own window. I want it to use the parent window. Any suggestions?
Using CreateProcess
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.



