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!
