I just changed the .exe so that the @WorkingDir gets displayed in a messagebox.
That leads to "C:\Program Files\Test\" when i use it via winedir
and to Z:\root when i use it from the shortcut.
Somehow the path where the exe is executed is not the same.
On Wed, Jun 10, 2009 at 9:51 AM, c_andy_man<[email protected]> wrote:
?
There is no difference!
I just changed the .exe so that the @WorkingDir gets displayed in a messagebox.
That leads to "C:\Program Files\Test\" when i use it via winedir
and to Z:\root when i use it from the shortcut.
Somehow the path where the exe is executed is not the same.
That's what the set working directory option is for.
Okay. so workingdir is simply wrong because it shows the standard user-directory...
The when the exe opens the file is by using fileRead("inifile.ini",0) without a path => in the actual directory. This works on windows, no matter where i put the two files.
But in Linux/Wine, when the inifile is in the same directory as the exe, the file will not be read.