11-02-2015 05:00 AM
Hey guys,
So I am trying to practice loading dlls from LabVIEW, and wanted to start from scratch.
I created a simple dll for addition with Visual Studio 2013 C++ but when I try to load it from LabVIEW, I get this error
I did some searching and it sounds like the dll is built with a target that is meant for Windows App Store and not regular dll.
There wasn't much info available on google. Does anybody know anything about this?
Solved! Go to Solution.
11-03-2015 11:09 AM
Hi Doradorachan,
From what I found on the web, that erorr is a pretty broad error on Windows. Have you found these resources for working with DLLs and LabVIEW?
Building a DLL with Visual C++:
http://www.ni.com/white-paper/3056/en/
How Do I Call a Dynamic Link Library (DLL) from LabVIEW?:
http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33
11-11-2015 01:17 PM
I forgot to mention that error went away when I realized I was selecting the wrong project type.
As most tutorials on dll creation suggest, you are supposed to select "win32 Project" and then select "dll" for application type.
Since I am a noob at Visual Studio, I was selecting the project type that targets mobile phone as well.(Universal app)
I hope this helps anybody who has the same problem