www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1757] New: there is an fault in phobos windows api interface

reply d-bugmail puremagic.com writes:
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


-- 
Jan 01 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1757


yonggangluo hotmail.com changed:

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





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


-- 
Jan 01 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1757


bugzilla digitalmars.com changed:

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





Fixed dmd 2.010


-- 
Feb 16 2008