08-23-2011 02:51 PM
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
08-23-2011 03:55 PM
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?
08-23-2011 03:59 PM
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.