BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 06-21-2009, 06:55 PM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 7100
PIN: N/A
Carrier: Rogers
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Help - USBClient can't receive data from device

Please Login to Remove!

I compiled USBClient using Visual Studio 2008. It works fine (i.e. it can send and receive those a few messages (Hello from PC, Hello from Device, Goodbye from PC, Goodbye from Device) with device application com_rim_usbdemo).

However, when I embed the USBClient.cpp code into a GUI application (based on Windows MFC), the UI-based application cann't receive mesage from device (it can send Hello from PC to device. Device then sent Hello From Device. But my UI application on PC doesn't receive it).

Reading the code, it seems that function raw_OnNewData() is not calle within the GUI-based USBClient. Anyone has any idea why?

Thanks in advance.

Rob
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

(H1) 1 NEW MAC VALVES 82A-AA-BAA-TM-DAA5-2DA SOLENOID VALVE
$80.0
(H1) 1 NEW MAC VALVES 82A-AA-BAA-TM-DAA5-2DA SOLENOID VALVE picture(Q10-6) 1 NEW SMC VF5220-5G-03 SOLENOID VALVE
$45.0
(Q10-6) 1 NEW SMC VF5220-5G-03 SOLENOID VALVE picture(Q10-6) 1 NIB SMC VF5220-5G-03 SOLENOID VALVE
$54.22
(Q10-6) 1 NIB SMC VF5220-5G-03 SOLENOID VALVE picture(RR30-2) DECCO 9-2665M-056 17555 SOLENOID KIT
$59.0
(RR30-2) DECCO 9-2665M-056 17555 SOLENOID KIT picture(X5-8) 1 NEW MAC VALVES DM-DFBP-1DM SOLENOID VALVE
$37.0
(X5-8) 1 NEW MAC VALVES DM-DFBP-1DM SOLENOID VALVE picture






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