LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq example in x64 environment of visual studio 2019

Solved!
Go to solution

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.

 

https://forums.ni.com/t5/LabVIEW/imaq-example-in-x64-environment-of-visual-studio-2019/m-p/4152291/h...

0 Kudos
Message 1 of 3
(1,289 Views)
Solution
Accepted by topic author rwe

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.

Rolf Kalbermatter
My Blog
Message 2 of 3
(1,235 Views)

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.

0 Kudos
Message 3 of 3
(1,227 Views)