delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/14/11:30:55

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: <099d01c0dc88$8af021f0$c5823bd5@dima>
From: "Dmitry Timoshkov" <dmitry AT baikal DOT ru>
To: "Steve O" <simgenome AT yahoo DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <20010514141738 DOT 25390 DOT qmail AT web5410 DOT mail DOT yahoo DOT com>
Subject: Re: [ANNOUNCEMENT] New on sources: rxvt-2.7.2-1
Date: Mon, 14 May 2001 23:12:52 +0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

"Steve O" <simgenome AT yahoo DOT com> wrote:

> I traced the segfault to a call to CreateWindow().
> Since I haven't changed the CreateWindow parameters
> and an older version works on NT, I'm left with the
> fact that I moved the call to RegisterClass and 
> the WndProc to a DLL.  I don't know why that would
> cause CreateWindow to break. 
> 
> I'm able to single step up to the CreateWindow, and
> catch the WM_CREATE message being processed by the 
> WndProc.  It's after my WndProc returns DefWindowProc(...)
> that CreateWindow tanks.

It could be related to the fact, that either class is registered
or window is created with the wrong hinstance. Though MSDN says:
CreateWindow:
hInstance -
Windows 95/98: [in] Handle to the instance of the module to be
associated with the window.
Windows NT/2000: This value is ignored.
--
Dmitry.


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