🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Porting W98 BCB4 to XP

#6548
From: Colin B Maharaj
Date: Sun, 01 May 2005 04:00
31 lines
2286 bytes
1. IN XP, if you have NTFS you may be trying to write to a path that is 
readonly. Check your permissions before writing.

Also the Program Files path in XP is readonly. Microsoft recommends 
using the Documents and Settings\All Usres\Application Data path for
data files. This is readonly by default - so you want to change the 
permisions of any path you create in there, when creating your 
datafiles. Do not place your data in the same place as your programs.


2. In XP, certain parts of the registry - HKLM is readonly but you can
write to if you are an administrator. Check this. Maybe you are writing 
to HKLM as a non-administrator.

hope this helps.


Leigh Milne wrote:
> I have an application which runs fine on every W98 / 95 system I have 
> tried.  It crashes on XP.  I have installed my BCB4 on an XP system, and 
>  am debugging my application.  I have found places in my code which 
> crash, but the reasons are not obvious.  The code works in W98 etc, and 
> still looks OK.
> 
> 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??
> 
> Thanks,  Leigh
Technical Details
Message-ID: <4274545a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.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
Date: Sun, 01 May 2005 00:00:28 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Porting W98 BCB4 to XP
References: <426f5f49$1@newsgroups.borland.com>
In-Reply-To: <426f5f49$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.108.25.133
Message-ID: <4274545a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114920026 200.108.25.133 (30 Apr 2005 21:00:26 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail