Topic: Open/Close external program within C++


Author: konfjo@eua.ericsson.se (Fredrik Jonsson)
Date: 18 Aug 1994 07:41:47 GMT
Raw View
In article 0N1AAB70@canrem.com, grant.porter@canrem.com (Grant Porter) writes:
>We need to open and close an external program from within C++.  Currently, we
>have tried LoadModule and WinExec to open the program.  Using LoadModule, we
>have attempted to use FreeModule to close the external program.  Unfortunately,
>this causes some kind of error with emm386 driver and causes our computer to
>crash.
>Can anyone out there tell us the best way to open/close an external program
>from within C++  (BTW, we are using Microsoft Visual C++ v1.5).

Did you think this group was kind of like
comp.lang.MicroSoft.MVC++1_5.Questions.LoadModule.FAQ!!, or what!?

/Fred.





Author: grant.porter@canrem.com (Grant Porter)
Date: Wed, 17 Aug 94 09:50:00 -0400
Raw View
We need to open and close an external program from within C++.  Currently, we
have tried LoadModule and WinExec to open the program.  Using LoadModule, we
have attempted to use FreeModule to close the external program.  Unfortunately,
this causes some kind of error with emm386 driver and causes our computer to
crash.
Can anyone out there tell us the best way to open/close an external program
from within C++  (BTW, we are using Microsoft Visual C++ v1.5).