delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/27/05:09:39

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: <5F052F2A01FBD11184F00008C7A4A80005E1DB0D@EUKBANT101>
From: "Richard Hellicar (EML)" <Rick DOT Hellicar AT eml DOT ericsson DOT se>
To: "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com>
Subject: RE: newbie question: hellowin on Windows NT
Date: Fri, 27 Oct 2000 11:08:32 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2651.58)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id FAA26656

Hi,

I see the same behaviour.
Zero the wndclass structure before you use it...add the following at around line 34
memset (&wndclass, 0, sizeof(wndclass));


Rick

> -----Original Message-----
> From: "Quoß, Clemens" [mailto:clemens DOT quoss AT gzs DOT de]
> Sent: 25 October 2000 09:52
> To: 'cygwin AT sources DOT redhat DOT com'
> Subject: newbie question: hellowin on Windows NT
> 
> 
> Hello,
> 
> I'm rather new to writing programs with Cygnus, so
> I decided to start with the hellowin example 
> from C. Petzolds book 'Programming Windows'.
> 
> After some amendments to the source it 
> compiled cleanly. Having compiled with '-mwindows'
> I have no problems to start it from the cygwin 
> bash command line. The windows starts nicely.
> 
> But compiling with '-mwindows -mno-cygwin' and
> starting hellowin.exe directly from Windows NT explorer,
> brings no result. There is a background task in the 
> task manager named 'hellowin.exe', but no window
> is shown.
> 
> In Windows 98, it works. So it seems to be a problem
> with the Windows NT version and cygwin.
> 
> I included the source 'hellowin.c' and the output of
> 'cygcheck -s -r -v hellowin.exe' after having compiled
> with '-mno-cygwin' option.
> 
> Your help is very much appreciated.
> 
> TIA
> 
> Clemens Quoss
> 
>  <<hellowin.c>>  <<tocygwin.txt>> 
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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