Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Callback function returns warning when compiled

kovalenkov,

I think we may finally have your answer. The newer Visual C++ compiler allows you to generate both 64 and 32 bit code. Casting from a 64 bit pointer to a 32 bit pointer in this instance is acceptible because the higher 32 bits are not being used with a 32 bit OS. That compiler warning is there to warn you of potential problems if you were to migrate to a 64 bit platform. Here is a knowledge base in the MSDN:

Common Compiler Errors

I hope this helps. If not we'll keep trying!

Craig H.
National Instruments
0 Kudos
Message 11 of 13
(1,126 Views)
Thanks Craig. This helps a lot.
Thank you for your taken time.
Now one question popped up. Is NI planning on developing Traditional DAQ in future, or is DAQmx the future?
0 Kudos
Message 12 of 13
(1,126 Views)
kovalenkov,

NI-DAQmx is definately going to be our development focus for the future due to its ease of use, customizability, and speed. Traditional NI-DAQ, however, will continue to be supported.

Craig H.
National Instruments
0 Kudos
Message 13 of 13
(1,126 Views)