I try run the USBClient demo under the JDE 4.1.0, and I use Visual Studio Express C++ 2005 to run the client.
But when I pludge the Blackberry, and run the program from VC, and the console screen jumps out, it successful get the device information, but then I get an error as
"Invalid Advise Flags"
And I try to locate where the error comes from, it seems from here:
when it try to open the channel and write some data,
_channel = device->OpenChannel(CHANNEL, this);
Anybody can explain this? I try to search other threads in the forum, and only find one guy who has success run the program and send the data.