Overview
Artifact ID: | 9be280d8c3be061c10861859355ac0018e0f95cd |
---|---|
Ticket: | c8c0b78c840e4df9aefd2687bf6cac5abfce08e5
Windows 7: "fossil ui" and "fossil server" fail |
User & Date: | wolfgang 2010-10-15 16:37:14 |
Changes
- Appended to comment:
<hr /><i>wolfgang added on 2010-10-15 16:37:14:</i><br /> For my XP machine, argv[0] is correctly filled with the complete path. I'll test it later on my Win7HP machine. The contents of argv[0] can be tested with fossil help add The name of the binary, displayed in the output is replaced with argv[0]. Windows uses diffent ways to find a binary (calling via cmd.exe or calling by explorer,..). So if argv[0] doesn't contain a full path, the error may appear. I've found a link to some information, how to get the application location: [http://msdn.microsoft.com/en-us/library/ms683197]: <pre> DWORD WINAPI GetModuleFileName( __in_opt HMODULE hModule, __out LPTSTR lpFilename, __in DWORD nSize ); </pre>