05-28-2009 08:45 AM
Hello,
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
05-29-2009 01:22 AM
I made a new test. I tried to build solution with the original code I found here: http://zone.ni.com/devzone/cda/epd/p/id/4394 Same error will be issued.
06-04-2009 08:52 AM