dmitry at baikal.ru
Fri Feb 25 22:10:06 CST 2005
"Ivan Leo Puoti" <ivanleo at 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.
More information about the wine-devel