I try to detect WM like I saw it in a ni example (windows_messaging_que.zip). When I compile my code I always receive error C2365. I declare Occure as FARPROC like the examplecode too. In the extcode.h is Occur already defined as a function TH_PROTECTED MgErr _FUNCC Occur(Occurrence o); .
This part is from the example:
FARPROC Occur; //A function pointer to the Occur function inside LabVIEW.exe
Has anyone an idea to fix that problem?
Best regards, AndreasE