08-16-2016 09:37 AM
Good afternoon,
I was able to process USB Events DBT_DEVICEARRIVAL and DBT_DEVICEREMOVECOMPLETE from an application using InstallWinMsgCallback and RegisterDeviceNotification but in that case i was running an application which has its .uir file and i get the panel handle with GetPanelAttribute (..ATTR_SYSTEM_WINDOW_HANDLE..).
Now, i need to process that events from inside a DLL (which doesn`t have a .uir file and therefore i can't get a panel handle to pass to InstallWinMsgCallback) but i do not know how to imlpement it.
Thanks ind advance
08-17-2016
03:17 PM
- last edited on
07-13-2026
08:14 PM
by
Content Cleaner
Hi AlePinto,
Please review the following Getting Started with LabWindows/CVI:
https://www.ni.com/docs/en-US/bundle/373552k/resource/373552k.pdf
I hope it helps you.
Regards.