07-24-2014 10:36 AM
I am still running LabWindows 2010 and havn't be paying attention to the new features of LabWindows. Has LabWindows been updated to being a 64-bit Application? Is there plans for it? I am running into more and more 64-bit libraries that LabWindows can't use.
07-25-2014 09:45 AM
Hi Paul_Knight_Lockheed_Martin,
If you look in the LabWindows/CVI 2010 help, you'll notice a help topic called Creating 64-bit Applications Versus 32-bit Applications. Can you explain more about the trouble you are having with 64-bit libraries?
Thanks,
07-25-2014 10:25 AM
Daniel,
I have a 64-bit COM Object library. When I try to use the ActiveX Controller Wizard to create a ActiveX Controller. I get an error: "The Type Library is not intended for use on Win 32".
Looking throught the help files in LabWindows it stated that since LabWindows itself is a 32-bit application it can't use 64-bit libraries.
That is why I wanted to know if LabWindows is every going to become a 64-bit application.
Paul
07-25-2014 01:52 PM
Hey Paul,
Try setting LabWindows/CVI to the 64-bit configuration by navigating to Build»Configuration»Debug x64, as specified in the document that Daniel linked to. Do you still receive the error?
Myriam
07-27-2014 12:23 PM
Myriam
Yes I still get the same error message. I have add a screen shot of the error message.
07-28-2014 08:02 AM
I found a link that goes to my issue
The last post states: . However, the ActiveX Controller Wizard is part of the CVI environment and is thus a 32-bit process. If the type library you are trying to load is contained in a 64-bit binary, then the wizard will not be able to load it.
This appears to mean that LabWindows needs to be a 64-bit application before it can load 64-bit libraries.
Which goes back to my original question is the new LabWindows a 64-bit application and if not is there a path forward.
07-29-2014 12:03 AM
Hi Paul,
I apologize; I didn't realize you were using the ActiveX Controller Wizard. As the forum you referenced specifies, you should be able to load stand alone type 64-bit libraries in CVI. The pages linked below should provide more information about this:
Automatically Switching Between 32- and 64- Bit Libraries in a LabWindows/CVI Project: http://digital.ni.com/public.nsf/allkb/2A11A12C31CABDBF86257B570079D84E
Loading DLLs:
http://zone.ni.com/reference/en-XX/help/370051V-01/cvi/programmerref/loading_32-bit_dlls/
To answer your question, yes, LabWindows/CVI 2013 SP2 is still a 32-bit application. Unfortunately, though, I'm not aware of whether or not there are plans for a 64-bit release in the future.
Myriam
07-29-2014 07:27 AM
Myriam,
Thanks, I read those two links. Unfortunately, I am using a 3rd-party DLL that did not come with a .lib file.
Paul
02-06-2019 02:33 PM
Hi Paul,
Were you able to find a solution to this problem? I seem to have the exact same problem, please let me know, would greatly appreciate it! Thanks!
02-06-2019 02:42 PM
We used Visual Studio to create a DLL of our own that uses the 3rd parties DLL, basically a wrapper around their DLL. Then we can import our DLL into LabWindows as a .fp. It works, but it is not a graceful solution. A graceful solution would be to have LabWindows/CVI become a 64bit compiler.