BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 08-15-2007, 06:54 AM   #1 (permalink)
New Member
Join Date: Aug 2007
Model: 7230
Carrier: 7230
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Cool USBClient problem

Please Login to Remove!


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.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.