View Single Post
  #11   Spotlight this post!  
Unread 04-06-2002, 22:40
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
i only know VC++, i think version 6.0, cause that's what i use at school, and what i have at home.
Good. VC++ 6 is probably the best compiler out there. Personally, I use professional edition (gotta love academic licensing), but the commands I gave in the white paper should work for all versions.


Quote:
i can't execute any other commands in that thread
somewhat. Basically, while the ReadFile function is being called, you can't do anything. If the serial cable becomes disconnected, the ReadFile function will never return, so you won't be able to do anything. Under normal operation, it will return immediately after reading the 26 bytes, so you can just put the processing code right there.


Quote:
and for memory leaks, i really don't care
OK, I guess. just make sure you restart the laptop periodically so you don't end up with a wonderful BSOD.


As for the OI/RC emulator, that was me talking about doing it and yes, I am currently working on it. I'm about halfway through the PBASIC interpreter, and the rest of it is just trivial UI stuff. I've been sidetracked by my automatic program generator though.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php