25 Feb
2005
25 Feb
'05
10:10 p.m.
"Ivan Leo Puoti" <ivanleo(a)gmail.com> wrote:
Jonathan Ernst wrote:
4) Please tell me if you see things that are bad in the attached code, so that I'll fix it before submitting a patch.
I think you probably want to pass a valid HINSTANCE to DialogBox, to do this you should start your program with WinMain() instead of main().
main() works just fine. GetModuleHandle(0) returns current HINSTANCE. -- Dmitry.