I'm currently trying to implement an OSC (link (http://www.cnmat.berkeley.edu/OpenSoundControl) ) device driver for XSI 5.0 Foundation and this is also the first time I've used the c++ sdk.
Basically I've pulled straight from the mousedriver example and the project builds fine but when trying to trace when the callbacks were being called I didn't get any output in the log window. I've tried a few ways to print to the log window but am currently only using cout.
Just as a checklist here are the callbacks I've implemented:
extern "C" HRESULT WINAPI XSIDeviceOnDeActivate()
extern "C" HRESULT WINAPI XSIDeviceOnActivate()
extern "C" HRESULT WINAPI XSIDeviceOnUnInitialize()
extern "C" HRESULT WINAPI XSIDeviceOnInitialize()
... I also have DllMain. Nothing happens inside each callback except a trace statment and returning CStatus::OK.
Currently I'm only seeing the traces from DllMain and I can't figure out what I'm doing wrong. When I add my device to the devicemanager and even activate it I don't see any evidence of my code being executed.
Does anyone have any advice or suggested reading? :)