Subject:
|
RE: preventing IR tower shutdown
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 14 Apr 1999 15:14:18 GMT
|
Original-From:
|
Joel Shafer <joel@SAYNOTOSPAMconnect.net>
|
Viewed:
|
1153 times
|
| |
| |
> <snip>
> #
> # You can pump the messages in C++ like this:
> # while( ::PeekMessage( &msg, NULL, 0, 0, PM_NOREMOVE ) )
> # AfxGetThread()->PumpMessage();
> # The VB code should be similar (?).
> #
> If you are doing this in VB you may want to use
> Zane Thomas's msghook control...
That's not necessary. In VB the timer control events aren't low priority
tasks like in VC++. Even without a doevents stuck in your loop they are
guaranteed to fire. Your problem is more likely to be, as you suggested,
the IR tower shutdown.
Joel Shafer joel@connect.net
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message is in Reply To:
| | RE: preventing IR tower shutdown
|
| # From: lmartins@marktest.pt # Sent: Wednesday, April 14, 1999 02:25 PM # To: antony@wellic.remove.this.demo # Cc: lego-robotics@crynwr.com # Subject: Re: preventing IR tower shutdown # ---...--- <snip> # # You can pump the messages in C++ like (...) (26 years ago, 14-Apr-99, to lugnet.robotics)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|