Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 5 Jun 2001 16:36:20 -0400 From: Jim Baumbach Message-Id: <200106052036.QAA05416@fred.fcny.org> To: cygwin AT cygwin DOT com Subject: 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