[Issue 8871] New: Missing the RegisterClassExA function declaration in the windows header.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Oct 22 13:32:06 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8871
Summary: Missing the RegisterClassExA function declaration in
the windows header.
Product: D
Version: unspecified
Platform: All
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: druntime
AssignedTo: nobody at puremagic.com
ReportedBy: maidenphil at hotmail.com
--- Comment #0 from Phil Lavoie <maidenphil at hotmail.com> 2012-10-22 13:32:05 PDT ---
You can find the RegisterClassA function in the windows header
(core.system.windows.windows) but not the equivalent version for the
WNDCLASSEXA structure. However, declaring it like this:
extern( Windows ) export RegisterClassExA(...);
And calling it Works fine for me (compiles and links, so the function
definition is found). I think the solution is simply a matter of adding it to
the windows header. I am using DMD 2.060 on my machine.
Cheers!
--
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