LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build .exe that contain .dll

Solved!
Go to solution

Hello All,

 

I am trying to build .exe which need to use .dll.

In block diagram, I use functions strip path and build path.  Dll file is on the same location as .exe application.

Please check att.

 

I tried to build application by putting dll in always included, but it seams that doesn't work in that way.

 

Can you please advise.

 

Thank you.

 

Download All
0 Kudos
Message 1 of 3
(1,963 Views)
Solution
Accepted by topic author milan87

Look at the help for the Current VI's Path:

 

Note To obtain the path to the directory containing the application, use the Application Directory VI.

 

Me thinks you are using the wrong path.

 

mcduff

0 Kudos
Message 2 of 3
(1,918 Views)

Start reading here about what causes this. (... but I also recommend to place the dll into the "data" folder for consistency and adjust the path accordingly).

 

 

0 Kudos
Message 3 of 3
(1,911 Views)