Can I use resource file(*.rc,*.res) in D under Win32 API?

Stewart Gordon smjg_1998 at yahoo.com
Mon Sep 14 17:52:55 PDT 2009


Sam Hu wrote:
> 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.
<snip>

No, it's because you put a cast in to suppress the error.

Stewart.


More information about the Digitalmars-d-learn mailing list