To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 4551
4550  |  4552
Subject: 
RE: preventing IR tower shutdown
Newsgroups: 
lugnet.robotics
Date: 
Wed, 14 Apr 1999 15:14:18 GMT
Original-From: 
Joel Shafer <JOEL@CONNECTsaynotospam.NET>
Viewed: 
1020 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 (...) (25 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR