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.

Reply via email to