Using WinBuilder 074, it appears that when I ShellExecute a program the current directory is the directory containing WinBuilder.exe. This confuses at least one program (HijackThis Hotkey, http://hometown.aol....137/HJTHotkey/), and to make its update function work I have to execute a batch file in the HTHotkey dorectory which changes to that directory and then runs HJTHotkey /update. I suppose you could argue whether or not this is bad programming, but it is something that happens.
It would be nice to have a "Start In" argument added to ShellExecute, but if that's not possible perhaps always starting in the driectory of the target executable could be added?
ShellExecute start in
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users