|
|
@ -22,6 +22,7 @@ protected: |
|
|
|
handleOscMsg(m); |
|
|
|
} |
|
|
|
catch (osc::Exception& e) { |
|
|
|
(void)e; |
|
|
|
// any parsing errors such as unexpected argument types, or
|
|
|
|
// missing arguments get thrown as exceptions.
|
|
|
|
OutputDebugString(L"ProcessMessage: Error while parsing message: ..."); |
|
|
@ -497,7 +498,7 @@ int handleOscMsg(const osc::ReceivedMessage& m) |
|
|
|
/* Debugging function to test messaging. Probably will be removed later. */ |
|
|
|
DLLEXPORT int testMsg(HWND windowHandle, unsigned int messageID) |
|
|
|
{ |
|
|
|
float theFloat = 1.01; |
|
|
|
float theFloat = (float)1.01; |
|
|
|
int lParam = reinterpret_cast<int&>(theFloat); |
|
|
|
|
|
|
|
PostMessage(hwnd, 0x1002, 0, lParam); //post to message queue
|
|
|
|