From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

calling SetTimer in

I am programming in the LabWindows CVI 2012 environment.  I'm calling the Windows SDK SetTimer function, but I am getting type error because the first argument is of type "intptr_t".  To my understanding that is suppose to be equivalent to HWND windows handle type.  The code was compiling previously without error when I was working in the CVI 2013 environment.  Any thought on where to start to correct this error would be helpful.

0 Kudos
Message 1 of 2
(4,036 Views)

This might be of some help. It appears you can use this number as the hwnd parameter to the Windows PostMessage function. I also found this page from Microsoft that may be of some help. I'll look into this a little further to see if I can find anything else though. 

Rob S
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(4,006 Views)