WinMain

Jim Baumbach jsb@fred.fcny.org
Tue Jun 5 14:42:00 GMT 2001


Iwrote a gcc program that lnked to win32.dll and brought up a message box.
Now I want to wirte one with a dialog and the API for DialogBox says it
needs an HInstance and I'm told WinMain would give me one.  Does that mean
I now need to call WinMain? to get an HInstance?  Why do I need one
nowand not for MessageBox?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list