|
-
May 5th, 2003, 04:53 AM
#1
timer control on dos console
hello friends
i have a problem initialising timer along with other application. i want to run both of them simultaneosly.
what i try to do is run two application using spawnl function in turboc++ 3.0 but to run a child process simultaneously without affecting the parent process, the option given in spwanl p_nowait is not implemented. how to get the same in turboc++3.0
it's urgent nad important too
-
May 6th, 2003, 12:32 PM
#2
Are you running in DOS or in a DOS console under windows?
If you are running in DOS, you could write a TSR. Run one task in the TSR and the other on the console. Not a very good option as TSRs are difficult to debug.
If you are running on a DOS console under windows, you may be able to access the threading functions. I know you can on Watcom C/C++ 11.0 but I don't know about TurboC++ 3.0. Have a look at http://msdn.microsoft.com/library/de...inthreadex.asp
Succinct is verbose for terse
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
|