|
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:
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|