Example code gives exception on win7
Posted: Fri Mar 17, 2023 9:45 am
Hello everybody !
Tried to make the callback example (http://developer.telldus.se/browser/exa ... #callbacks) work on win7 on a 64 bit machine.
The VS 2008 project is uploaded here: https://docs.google.com/open?id=0B92w5F ... VJiMGxvS0U
It almost works, when sensor is activated, callback fires but but crashes occurs when returning from Events::deviceEventCallback:
First-chance exception at 0x00000001 in telldus.exe: 0xC0000005: Access violation.
Unhandled exception at 0x77e815de in telldus.exe: 0xC0000005: Access violation.
Anybody has a clue on this ?
//Anders
Tried to make the callback example (http://developer.telldus.se/browser/exa ... #callbacks) work on win7 on a 64 bit machine.
The VS 2008 project is uploaded here: https://docs.google.com/open?id=0B92w5F ... VJiMGxvS0U
It almost works, when sensor is activated, callback fires but but crashes occurs when returning from Events::deviceEventCallback:
First-chance exception at 0x00000001 in telldus.exe: 0xC0000005: Access violation.
Unhandled exception at 0x77e815de in telldus.exe: 0xC0000005: Access violation.
Anybody has a clue on this ?
//Anders