U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Help:Capture USB Device message
Help:Capture USB Device message [message #6521] Thu, 16 November 2006 08:50 Go to next message
mobilehunter is currently offline  mobilehunter
Messages: 87
Registered: November 2006
Member
Hi,

I have a windows app sample to read data from USB device.
The sample is created for VC++ which is working properly, then i want to convert it to Ultimate++.

My step:
1. define WM_USB_MSG as WM_USER + 100
2. register the message from it's API
3. Inherited a struct from TopWindow
4. Override WindowProc

The problem is i never got the message.
Did i missed something?
How to read WM_USER properly?

Thanks

PS: I'm using latest 611-dev2

[Updated on: Thu, 16 November 2006 09:24]

Report message to a moderator

Re: Help:Capture USB Device message [message #6537 is a reply to message #6521] Thu, 16 November 2006 17:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Sounds right. The only problem I can see is that TopWindow has to be open to receive messages - is it open?

If it is and it still does not work, post the code...

Mirek
Re: Help:Capture USB Device message [SOLVED] [message #6546 is a reply to message #6537] Fri, 17 November 2006 01:54 Go to previous message
mobilehunter is currently offline  mobilehunter
Messages: 87
Registered: November 2006
Member
Thanks for the reply,

I put wrong HWND Sad, then after Open() all working fine Smile
Sorry for bothering you.


Previous Topic: Horizontal and Vertical inverted in UPP?
Next Topic: Intresting "Heap leaks detected" warning
Goto Forum:
  


Current Time: Wed May 06 07:23:02 GMT+2 2026

Total time taken to generate the page: 0.00586 seconds