LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compiled VI not working on same PC, while running as VI works fine

Solved!
Go to solution

I have situation where my VI loads external dll, which it seems loads additional dll's. While my VI shows dependency towards only main DLL, others are not included in the project. That seems to not bother the LabView runtime when running the VI itself, but when I build it as .exe file and try to run it on the same PC, it doesnt work. All of the other dll's are located in the same folder as application .exe file is.

 

Dll's are .NET 32bit. Everything is compiled on 32bit windows 7 on LabView 2012.

How do I force static loading of dll's, because it seems that dynamic loading is the issue or am I wrong ?

 

 

0 Kudos
Message 1 of 3
(3,015 Views)
Solution
Accepted by topic author Gossamer

Did you try making the dll as always included in Source File tab in Build Properties and try?

Edit: Check this if you are using the file path correctly : http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363

Thanks
uday
Message 2 of 3
(2,974 Views)

Yes, including all dll's in project seems to help. 

Thanks

 

0 Kudos
Message 3 of 3
(2,902 Views)