Windows 7 Update screwed up my compiler, maybe

I am currently using a MATLAB 2013a to operate my NIDAQ USB 6353, and have been using a Windows 7.1 SDK compiler to run the NIDAQmx.h library. Everything worked fine until I did the critical update on my Windows 7 (64 bit) computer. Now, I can't even create a task on my NIDAQ card. Many signs point towards the compiler because I've seen this error before, and the fix was to go into the NIDAQmx.h file and comment out the datatype of the TaskHandle and change it to uInt32.
/*typedef void* TaskHandle;*/ typedef uInt32 TaskHandle;
Any suggestions would be greatly appreciated!

1 Kommentar

Jan
Jan am 26 Sep. 2013
Please post more details:
  1. Which one was the critical update? Do you have the KB number?
  2. Did you try to uninstall this update and does it successfully work afterwards?
  3. Post a complete copy of the error message.
  4. As far as I understand the posted code solved another problem. Please explain why you think that it is relevant here. Converting a void* pointer to a uInt32 is a dangerous method on a 64 bit system. I'd definitely avoid such ugly tricks.

Antworten (0)

Diese Frage ist geschlossen.

Produkte

Gefragt:

Ed
am 26 Sep. 2013

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by