|
-
January 24th, 2000, 11:32 PM
#1
Threading
Dear Code Guru,
I'm very new with Visual Basic so please be patient with me, thanks. I wonder if we can do threading in VB. If it's posssible, could you please show me how to do it in VB? What I am trying to do is displaying a dialog while compiling process of C++ programms is running on the background. I will be greatly appreciate for your invaluable helps. Thank you all in advance.
Does anyone know where I can look for Visual Studio documentation? Thanks again.
-
January 25th, 2000, 02:07 AM
#2
Re: Threading
IMHO you don't need threading to do what you want.
You'll want to start a background process (via CreateProcess API) and wait for its end (via WaitForSingleObject API).
You don't need a thread to do that.
You could use a Timer object on your form and check on each timer event if WaitForSingleObject signals that the process has ended.
Still, if you want to create threads you can do that via CreateThread API.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|