Can I use resource file(*.rc,*.res) in D under Win32 API?
Sam Hu
samhudotsamhu at gmail.com
Mon Sep 14 02:45:11 PDT 2009
Don Wrote:
> Sam Hu wrote:
> > int DialogFunc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam)
>
> This should be extern(Windows). I'm surprised that compiled, it
> shouldn't have.
Yes.it compiled even without extern(Windows) ,maybe because I imported win32 package other than std.c.windows.windows.
After added extern(Windows) to it,all the same result. Oops!
More information about the Digitalmars-d-learn
mailing list