Multithreading in Visual C++ 
Author Message
 Multithreading in Visual C++

I am creating an application through which I create another process that
runs a Perl script on DOS. When the Perl script is running , I want to
display a dialog box that provides a user the mechanism to cancel or
continue running the script. To display this dialog box, I am spawning a
thread. The problem is that when the Perl script is running, the dialog
box does not show on the screen until the Perl script terminates.
   I am creating the Perl Script process using CreateProcess API call
and Spawning the Thread for Displaying the Dialog Box using
AfxBeginThread.
  The main process has to wait for the Perl Script to terminate to get
the Exit code from the Script as it is required for further
processing.This waiting is implemented using GetExitCodeProcess API call
in a "While" loop.

Note: The Perl Script is running on Dos.



Tue, 09 May 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Need a good tutorial on multithreading in Visual C++ 6.0

2. I want a multithreading sample(Visual C++ mfc)!!!!

3. Multithreading in Visual C++ programmes

4. Visual C++ .NET coexisting with Visual C++ v6.0 SP5

5. Visual C++ to eMbedded Visual C++ problem

6. Visual C++ .NET reviews, comparisons to Visual C++ 6.0

7. Do Not Install Visual C++ 5.0 Over an Installation of Visual C++ 4.x

8. Visual C++ 6.0 vs. Visual C++ .NET

9. Visual C++ .NET coexisting with Visual C++ v6.0 SP5

10. Visual C++ 6.0 contra Visual C++ Technology Preview IE4

11. Visual C++ calling Visual C++ dll

12. How to compile Visual C++ 1.0 source code using Visual C++ 4.0

 

 
Powered by phpBB® Forum Software