Bug 1757 – there is an fault in phobos windows api interface

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-01-01T04:06:00Z
Last change time
2015-06-09T01:14:23Z
Keywords
accepts-invalid, patch, wrong-code
Assigned to
bugzilla
Creator
yonggangluo

Comments

Comment #0 by yonggangluo — 2008-01-01T04:06:08Z
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
Comment #1 by yonggangluo — 2008-01-01T04:08:44Z
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
Comment #2 by bugzilla — 2008-02-16T06:05:07Z
Fixed dmd 2.010