delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/15/16:27:06

From: mfitzger AT yoho DOT uwaterloo DOT ca (Mark Fitzgerald)
Subject: Ack! Port from Borland C++ 5.01A to B20.1 buggy!
15 Dec 1998 16:27:06 -0800 :
Message-ID: <Pine.SOL.3.96.981215112951.25283D-100000.cygnus.gnu-win32@yoho.uwaterloo.ca>
References: <199812150006 DOT BAA00373 AT mira DOT isdn DOT cs DOT tu-berlin DOT de>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi all.  I'm working on porting a game I've been writing from Borland C++
5.01A to cygwin B20.1.  I've gotten around windowsx.h macros not existing,
and problems with having to link to cygwin1.dll (-mno-cygwin now used).
Now the program runs.  It is a board game with a lot of BitBlt()ing and
StretchBlt()ing.

The problem is that my program will often crash just after processing a
WM_TIMER or a WM_PAINT message.  Occasionally it will crash in WM_PAINT
after a BitBlt() to the screen's device context.  This will occur after,
perhaps, 30 seconds, or 100 moves.

If the same code is compiled using Borland C++, the problem does not
occur.  Is this just a really subtle bug on my part, or is it possible
this is a compiler bug?

I'll run some more tests while waiting for replies.

Mark

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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