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 / 22187
22186  |  22188
Subject: 
RE: LEGO Tower API and Filenames
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.pbforth
Date: 
Thu, 5 Feb 2004 16:58:20 GMT
Reply-To: 
<rhempel@bmts.comSTOPSPAM>
Viewed: 
5533 times
  
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.

Hmmmm

Ralph



Message has 1 Reply:
  Re: LEGO Tower API and Filenames
 
(...) 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 (...) (21 years ago, 6-Feb-04, to lugnet.robotics, lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Re: LEGO Tower API and Filenames
 
(...) 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. Mark (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

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

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