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 / 22182
    Re: LEGO Tower API and Filenames —Claude Baumann
   (...) Right with \\.\...., but at least with Win98SE the port is correctly found. Great to here you Ralph. (21 years ago, 5-Feb-04, to lugnet.robotics, lugnet.robotics.rcx.pbforth)
   
        RE: LEGO Tower API and Filenames —Ralph Hempel
   (...) Claude, I've written a little C program that tries to open "\\.\LEGOTOWER1" and on otherwise identical computers (except one is running Win98SE and the othre runs Win2K) only the Win2K machine can open the file. Of course, the LEGO tools work (...) (21 years ago, 5-Feb-04, to lugnet.robotics, lugnet.robotics.rcx.pbforth)
   
        Re: LEGO Tower API and Filenames —Claude Baumann
     (...) Ralph, I retried it with a Delphi-program that I wrote some time ago. This opens "\\.\LEGOTOWER1" without any problem: ... const DEFAULT_PORT_NAME = '\\.\LEGOTOWER1'; ... function USB_Open():Longint;stdcall; var hFh:Longint; begin (...) (21 years ago, 5-Feb-04, to lugnet.robotics, lugnet.robotics.rcx.pbforth)
   
        Re: LEGO Tower API and Filenames —Mark Riley
   (...) 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)
   
        RE: LEGO Tower API and Filenames —Ralph Hempel
   (...) 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)
   
        Re: LEGO Tower API and Filenames —Chris Phillips
   (...) 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)
 

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