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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 4 03:35:26 PDT 2011


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

           Summary: D2 shows empty command line on Windows 98 SE
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis <verylonglogin.reg at gmail.com> 2011-05-04 03:31:28 PDT ---
Created an attachment (id=959)
Test case

The problem is in file druntime\src\rt\dmain2.d
Windows Windows 98 SE really has GetCommandLineW function, but hasn't
CommandLineToArgvW. So dmd v2.052 compiled printArgsD.d always shows
args.length is 0 (dmd v1.067 compiled works fine).

It is sad to live without command line or to have own CommandLineToArgvW-like
function in every small console util...

-- 
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