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




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


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




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


-- 
Feb 16 2008