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: <5F052F2A01FBD11184F00008C7A4A80005E1DB0D@EUKBANT101> From: "Richard Hellicar (EML)" To: "'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) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit 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 > > <> <> > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com