LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Link to dll in LabView

I have a problem.
 
I have a dll with a fixed location for security reasons. But when I buils a application from my program, the dll is included (in data dir.). And due to the security it will not work then. Is it possible to link to the dll or use a abselute path, in a application??
 
I have tryed to delete the file from the data dir, and added the fixed path in "VI Search Path". But then I have to select the dll every time the program execute!!
 
I hope that you can help me..Best regards
 
Henning Hoegh
 
 
0 Kudos
Message 1 of 5
(3,030 Views)
Use OpenG Builder* to build your application and add the DLL to the list of exclusions.  This will cause your built application to depend on the DLL in the original location rather than creating a copy in the build location.


*WARNING -- Once you use OpenG Builder you will never want to use the LabVIEW Application Builder again.
0 Kudos
Message 2 of 5
(3,020 Views)

Thanks!! Smiley Happy This works..

Now a question, can I make a installer this Builder??

In LV application builder it's possible to to make a installer with the LV run-time engine included. I can't se that option in this OpenG builder. I have tryed to install ogrsc_package_builder, but can not run it. Me LV is 7,0. and this is in 7.1.1.

HH

0 Kudos
Message 3 of 5
(3,011 Views)
For building an installer, use the OpenG MSI Installer Builder (ogrsc_msi_builder).  Don't use OpenG Package Builder -- it is a tool for creating packages installable by OpenG Commander; however, I don't know why you are having problems with it in 7.1 since it should work for LV versions >= 6.1.
0 Kudos
Message 4 of 5
(3,001 Views)

Thnake you, I will try that.

I have tryed the other program one more time. It dosent work in my LV version (7.0)

HH
 
0 Kudos
Message 5 of 5
(2,982 Views)