I'm runing a program compiled in CVI 8.5 that is giving me a random problem.
The Function GetDir(gExecFolder) Doesn't Return the same value all the time, which creates an error when accessing files that Do Not have a full path.
e.g. MyFunction("FileName.ext");
The error is File Not Found.
Please take a look at these 2 images showing the different outputs of GetDir(gExecFolder).
Good Output:

Bad Output:

Note that I stopped the execution after this line executed.
Thanks for your help.