LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"NO outside functions **.DLL in VI" error appear after run exe on another PC

Solved!
Go to solution

I made a DLL within two functions("AA"and"BB")by VS ,and renamed the DLL with name "Infoproc.dll". The I called it with CLF node,as below:

无标题1.png,

when I run it on my PC with a full version LaBVIEW, everything was well, but after I build a exe and the installer(with my PC 64 bits WIN7 and labview2015),and copied the instraller to another computer(win10 OS) ,and installed the installer on that computer and run it,errors appeared as below:

无标题.png.

these Chinese words means "NO outside functions **.DLL in VI",(but I do not quite understand what does the last character 'C' mean), What is the reason ?What shall I do ?

 

MeanWhile, after I installed the installer and run the exe on "THAT computer",the VIs' list as well as their names will appear when the software meet some errors,that is terrible because the names contains important design informations , how should I avoid that ?

0 Kudos
Message 1 of 6
(3,005 Views)
Solution
Accepted by alii001

Did the DLL copy over?

 

Is it in the same relative path as it was on the dev pc?  (not inside the data folder)

0 Kudos
Message 2 of 6
(2,963 Views)

NO.

When on the develop PC,the .dll file and the .lvproj and the VIs file are in the same folder, but after build into .exe file, the .dll file goes to next level , in the data folder.

I considered that since it was automatically modified by labview , it can no doubt be disgunished by labview's exe. why not ?

0 Kudos
Message 3 of 6
(2,951 Views)

The actual translation of the message is a bit strange but it probably was translated from "No external function"

 

Most likely the loading of the DLL fails since it depends on other DLL dependencies. What version of Visual C did you use to create the DLL? Did you install on the target machine the redistributable C runtime library for your Visual C version you are using?

 

I don't understand your last sentence at all though.

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 6
(2,936 Views)

I made the dll by VS2010 on a third PC,and copied the dll to my dev PC,  the dll works well on my dev PC without the VC runtime. but after installed to "THAT COMPUTER", error appeared.

I followed natasftw 's advice yesterday, use a path for the dll I called instead of dynamatic call and include always of the dll when build exe,everything turned good.

 

The last sentence, I mean, even after I bulid my VIs into exe and run the exe, detail errors would also appear ,that might divulge design information . I use to thought only in devevelop environment would such information appear

0 Kudos
Message 5 of 6
(2,916 Views)

thank you ,you are really a nuibility.

0 Kudos
Message 6 of 6
(2,915 Views)