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 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 , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: WinMain In-Reply-To: <200106052036.QAA05416@fred.fcny.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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