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

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
Message-Id: <4.3.1.2.20010605175103.020bb900@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 05 Jun 2001 17:52:11 -0400
To: Jim Baumbach <jsb AT fred DOT fcny DOT org>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: WinMain
In-Reply-To: <200106052036.QAA05416@fred.fcny.org>
Mime-Version: 1.0

At 04:36 PM 6/5/2001, Jim Baumbach wrote:
>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?



This is really a question about the Win32 API, not Cygwin.  You should
direct your question to a list that specializes in such matters.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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