CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Location
    india
    Posts
    1

    Exclamation 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

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    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
  •  





Click Here to Expand Forum to Full Width

Featured