Ticket Change Details
Not logged in
Overview

Artifact ID: 514077c7543d6c9c3a350b0d3275f1293bc41757
Ticket: c8c0b78c840e4df9aefd2687bf6cac5abfce08e5
Windows 7: "fossil ui" and "fossil server" fail
User & Date: wolfgang 2010-10-16 14:48:55
Changes

  1. Appended to comment:
    
    <hr /><i>wolfgang added on 2010-10-16 14:48:55:</i><br />
    I think, using <code>pgmptr</code> doesn't really solve the problem. Reading the microsoft msdn pages, i see:
    
    <blockquote>
    When a program is run from the command interpreter (Cmd.exe), _pgmptr is automatically initialized to the full path of the executable file. For example, if Hello.exe is in C:\BIN and C:\BIN is in the path, _pgmptr is set to C:\BIN\Hello.exe when you execute:
    Copy
    
    C> hello 
    
    When a program is not run from the command line, _pgmptr might be initialized to the program name (the file's base name without the file name extension) or to a file name, relative path, or full path.
    </blockquote>
    If the fossil.exe is called by tools like anysrv/nssm/.., the value of pgmptr may be a relative or absolute path or only the filename.