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 / 22188
22187  |  22189
Subject: 
Re: LEGO Tower API and Filenames
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.pbforth
Date: 
Fri, 6 Feb 2004 03:20:28 GMT
Viewed: 
5852 times
  
In lugnet.robotics, Ralph Hempel wrote:
Did you escape the backslashes in the C string?

  CreateFile("\\\\.\\LEGOTOWER1", GENERIC_READ | GENERIC_WRITE,
     0, 0, OPEN_EXISTING, 0, 0);

Just a thought... it's easy to forget sometimes.

Yes, I escaped the characters. The identical code works on the Win2K machine
and does not work on the win98SE machine with identical LEGO drivers installed.

One other thing you could try is to physically disconnect and then reconnect the
USB tower from the system.  I've found that (on Win98 at least) the driver
sometimes freezes up and won't open until after I do that little dance.

Also, you could try running my MSGMON program (complete with source code) to see
if it works for you.  I use pretty much that same CreateFile() call that Mark
quoted earlier in this thread.

  http://www.drvegetable.com/download/samplecode/msgmon.zip

Hope this helps!

- Chris.



Message is in Reply To:
  RE: LEGO Tower API and Filenames
 
(...) Yes, I escaped the characters. The identical code works on the Win2K machine and does not work on the win98SE machine with identical LEGO drivers installed. Hmmmm Ralph (21 years ago, 5-Feb-04, to lugnet.robotics, lugnet.robotics.rcx.pbforth)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Contact Recovery Nerd for Speedy USDT / BTC Recovery
24 hours ago
Custom Search

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