Hi all,
I have a problem concerning the LabView Default
Directory specified under "Tools->Options". I have a DLL which is
called by LabView. This DLL reads an INI-File which is referenced by a
relative path in the DLL, i. e. "./inifile.ini" (as i know from the
programmer of the code, i haven't written the code myself). But if I
start LabView and execute this program, the Inifile isn't read as i can
see from the values returned by the DLL. I found several workarounds,
but the aren't perfect at all:
- If i place the ini-file into the
default directory (c:\programs\national instruments\labview 8.5), the
Ini file is read...but i don't want to put any files into that directory
-
If i create a LabView-Project and add the Ini to the project, it works
for the first time I added the files. But if i close LabView, reopen
it, it doesn't work anymore (the files are still in the project!!).
Deleting the files from the project and adding them again helps.
Anyone knows a way to tell LabView that the "Default directory" is the directory of the running vi??
Thanks in advance
Christian
THINK G!! 😉
------------------------------------------------------------------------------------------------
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac)