Thread overview
[Issue 1757] New: there is an fault in phobos windows api interface
Jan 01, 2008
d-bugmail
Jan 01, 2008
d-bugmail
Feb 16, 2008
d-bugmail
January 01, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1757

           Summary: there is an fault  in phobos windows api interface
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid, patch, wrong-code
          Severity: major
          Priority: P1
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: yonggangluo@hotmail.com


there is an line of  incorrect source code in phobos
in std.c.windows.windows.d
the source code line 40 (the line number is 40) is incorrect.
the origin source code of line 40 is
alias const(WCHAR*) LPCWSTR,PCWSTR
i think it must be change to
alias const(WCHAR*)* LPCWSTR,PCWSTR


-- 

January 01, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1757


yonggangluo@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yonggangluo@hotmail.com




------- Comment #1 from yonggangluo@hotmail.com  2008-01-01 04:08 -------
I am sorry,
the correct source code must be
alias const(WCHAR)* LPCWSTR,PCWSTR
you can reference the source code line of
    alias const(CHAR) *LPCSTR
it's place in the
std.c.windows.windows.d


-- 

February 16, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1757


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2008-02-16 06:05 -------
Fixed dmd 2.010


--