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
Hi AlePinto,
Please review the following Getting Started with LabWindows/CVI:
http://www.ni.com/pdf/manuals/373552j.pdf
I hope it helps you.
Regards.