CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

    Re: [RegisterDeviceNotification] Handle connection/disconnection of a USB HID device

    You have to have 'normal' window in a separate thread to catch notifications. The window is not obliged to be visible anyhow, and it can be a message-only window alright.

    The main problem with console window is: the window procedure is not controlled/monitored by your application like this is done in case of MFC window.
    Last edited by Igor Vartanov; April 28th, 2011 at 10:34 AM.
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured