Thank you! I almost figured out the code. Now modify the program. I am interested in this question
int result = DYNCALL (hidRegisterDeviceNotification) (winId ());
int result = DYNCALL (hidRegisterDeviceNotification) (winId ());
To copy to clipboard, switch view to plain text mode
hidRegisterDeviceNotification where you use the program? I did not find anywhere else.
Added after 52 minutes:
bool CUSBHidController::shutdown()
{
if ( isConnected() )
disconnectDevice();
DYNCALL(hidUnregisterDeviceNotification( winId() ));
if ( mUSBHidLib.isLoaded() )
mUSBHidLib.unload();
bool CUSBHidController::shutdown()
{
if ( isConnected() )
disconnectDevice();
DYNCALL(hidUnregisterDeviceNotification( winId() ));
if ( mUSBHidLib.isLoaded() )
mUSBHidLib.unload();
To copy to clipboard, switch view to plain text mode
When you close the program in debug mode - a segfault on the call DYNCALL (hidUnregisterDeviceNotification (winId ()));. It turns out that DYNCALL (hidRegisterDeviceNotification) (winId ()) not yet due, but just checking!
Bookmarks