LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Non functioning application after use of installer

I have a compiled vi that works as specfied.  Specifically, it reads and writes to an ini file and makes library calls from a third party just fine.

 

If the application is "installed" using the installer, then the ini write and read functions don't work and there seems to be some problem with the third party library funtion call.  Is there the application modified somehow by the installer?  What are some things to check to identify the source of the problem?

 

-JW 

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

Errr... no, the application is not "modified" by the installer. What would make you think this? The most likely issue you are having is a path issue. Or perhaps an access rights issue. Where is this config file that you are trying to read/write? Is it relative to the application? If so, have you checked to make sure the path is correct? If it's correct, have you checked if you have access to it? What is the "problem with the third party library function call"? Is it related to the config file? Is it something else? What is the error?

Message 2 of 3
(2,258 Views)

The most common cause is PATHS.  the pathe to the vi is not the same as the path to the exe so, if you are using strip-path and looking for a file in a location relative to the vi you need the file in the same relative position in to the exe.

 

The third party dll ALSO needs to be in a folder where the exe can find it.


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,257 Views)