24 Feb
2010
24 Feb
'10
1:50 a.m.
2010/2/19 Hans Meine <hans_meine@...240...>:
On Mittwoch 17 Februar 2010, Krzysztof Kosiński wrote:
- For the hack in 4 to work, current directory must be set to the
place where Inkscape's executable resides
Does this happen before main() (i.e. is it some Windows-specific executable property)? Otherwise, how about simply converting all cmdline arguments to absolute paths before performing the chdir?
No, we explicitly call SetCurrentDirectory. We can convert arguments to absolute paths in WinMain, but I'd rather fix this properly (e.g. not change the directory and be smarter about where we look for resources).
Regards, Krzysztof