This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

WinMain


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]