[Issue 5926] D2 shows empty command line on Windows 98 SE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 4 11:42:33 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5926


Sean Kelly <sean at invisibleduck.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |sean at invisibleduck.org


--- Comment #6 from Sean Kelly <sean at invisibleduck.org> 2011-05-04 11:38:40 PDT ---
Thanks!  However, when this routine is run, the GC is not yet initialized, so
array operations won't work.  What would be ideal is if the new function were a
functional clone of CommandLineToArgvW, so the surrounding logic could be
reused.  ie.

    wchar_t** doCommandLineToArgvW(wchar_t* cmdLine, int* numArgs)
    {
        if (GetVersion() < 0x80000000)
        {
            return CommandLineToArgvW(cmdLine, numArgs);
        }
        // TODO: parse manually here.
    }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list