🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6612

Re: Porting W98 BCB4 to XP

#6612
From: Alan Bellingham
Date: Wed, 27 Apr 2005 10:21
28 lines
2251 bytes
Leigh Milne <lmilne@adelaide.on.net> wrote:

[code works  under Win95, crashes under XP]

>I am not asking with help on my specific code (unless that seems the 
>only way to progress), rather I am asking if there is information 
>somewhere that documents problems likely to arise in situations like this.
>
>Is there??

Not that I'm aware of. The problem you probably have is that the Windows
NT operating system family (NT 3.51, NT 4, NT 5 (aka 2000), NT 5.1 (aka
XP)) have true inter-process barriers, true memory protection, etc. etc.

The 16-bit Windows family, including Windows 3.0, Windows 95, Windows 98
and Windows ME, don't. You can write to memory that a different program
owns. You can read from it. You can accidentally have a pointer pointing
off into the middle of nowhere, and yet you can store data there (as
long as that memory physically exists).

Basically, the problem you (almost certainly) have is that your code has
always had a bug in it, it's only that the strict rules brought in with
the 32-bit OS now mean that it's your program that crashes, not some
other program some time later.

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <9hpu611lmrqj7g9dodcp0no57ta34v0bj6@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <426f5f49$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f27f464fd571acb3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Porting W98 BCB4 to XP
Date: Wed, 27 Apr 2005 11:21:36 +0100
Reply-To: alanb@episys.com
Message-ID: <9hpu611lmrqj7g9dodcp0no57ta34v0bj6@4ax.com>
References: <426f5f49$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1114597295 193.129.251.253 (27 Apr 2005 03:21:35 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail