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
PIN: N/A
Carrier: 7230
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Cool USBClient problem

Please Login to Remove!

Hey,

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.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

MOS 325572-01 Commodore 1541 40-PIN Gate Array (x1)
$7.0
MOS 325572-01 Commodore 1541 40-PIN Gate Array (x1) pictureMOS 901227-03 Commodore 64 C64 Kernal ROM (x1)
$8.0
MOS 901227-03 Commodore 64 C64 Kernal ROM (x1) pictureDDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED
$712.5
DDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED pictureReconditioned Windsor Commodore 20 Carpet Extractor
$3025.0
Reconditioned Windsor Commodore 20 Carpet Extractor pictureVM110 VIC-20 Programmers Reference Guide, Commodore Business Machines
$9.99
VM110 VIC-20 Programmers Reference Guide, Commodore Business Machines picture






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