Article View: comp.os.ms-windows.programmer.tools
Article #243Re: Has anyone seen this OWL problem?
From: George Mills
Date: Wed, 12 Aug 1992 18:00
Date: Wed, 12 Aug 1992 18:00
23 lines
1539 bytes
1539 bytes
kmh@leland.Stanford.EDU (khanhmy hoang) writes: > My program using Borland's OWL (statically linked) worked perfectly > in Windows 3.0 and 3.1 when built using BC++ 3.0. > When built using BC++ 3.1, the program crashes in Windows 3.0 but > still works fine in Windows 3.1. > I did define WIN30 during compilation, and this should give me backward > compatibility. But this is not what I get. > Specifically, the Attr data member of a TListBox control has valid > values in Windows 3.1 but has 0's in Windows 3.0 (as watched in TDW). > Apparently Attr has an invalid address in 3.0 and this gives me the UAE. > Your help is much appreciated. I've been having weirdness with TC++ 3.1 for 3.0 windows but not on the TListBox. All works perfectly well on 3.1 windows. Some MetaFile calls and some BitBlt's just unexplainably UAE. The problem is more releated to 3.0 being less robust than 3.1. I suspect perhaps in both yours and my case that there is a minor bug in our code (or windows 3.0) that is floating around and a different compiler can hide or show it up.
Technical Details
Message-ID:
<mills.713642422@jisuzu.athena.lkg.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!decwrl!deccrl!news.crl.dec.com!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!amber!jisuzu.athena.lkg.dec.com!millsReferences:
<1992Aug12.080756.28348@leland.Stanford.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!decwrl!deccrl!news.crl.dec.com!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!amber!jisuzu.athena.lkg.dec.com!mills From: mills@athena.lkg.dec.com (George Mills) Newsgroups: comp.os.ms-windows.programmer.tools Subject: Re: Has anyone seen this OWL problem? Message-ID: <mills.713642422@jisuzu.athena.lkg.dec.com> Date: 12 Aug 92 18:00:22 GMT References: <1992Aug12.080756.28348@leland.Stanford.EDU> Lines: 23