delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/05/17:43:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <jsb AT fred DOT fcny DOT org>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019