05-23-2021 08:28 AM
Hello everyone,
Currently, I am using C++ in visual studio 2019 to develop the application of imaq related. I can compile and run all the imaq ansi C examples in x86 mode, and the GUI came out. But when I switched the same example to the x64, it can be complied but no error jumped out and no GUI came out. Could anyone have any idea about this. Thank you very much.
Please the below for the details.
Solved! Go to Solution.
05-24-2021 10:06 AM - edited 05-24-2021 10:07 AM
Well, just to add a data point here.
I did try to compile everything on a VmWare image with Windows 7, 64-bit installed, Vision Acquisition Software 20.0 installed and compiled all the NI-IMAQ samples with Visual Studio 2005 SP1 in both 32-bit and 64-bit. I can start those executables in Debug mode and go through it step by step without any error and end up with a window that lets me interact with the program. Can't do further tests as I do not have any NI frame grabber hardware.
And no I'm not prepared to install Visual Studio 2019 on my Windows 10 system, sorry. But it shows that the problem you seem to have is not a fundamental problem of those examples but something with your system, either Windows 10 and/or the newer Visual Studio version related. As such my ability to help you with this ends here. You will either have to do some single stepping debugging of your own or leave it alone.
05-24-2021 10:47 AM
Thank you again for your time and effort. It may be problem of Windows 10 system. I will go to the IMAQdx to be the solution for my project as your useful information in the last post. Thank you thank you again.