🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Crazy CopyFile

#3531
From: Andrue Cope [TeamB]
Date: Thu, 08 Jun 2006 08:45
18 lines
1409 bytes
Hans Galema wrote:

> I would suggest an absolute path in the first parameter too.

Absolutely :)

One of our golden rules. Relative paths should only exist outside of
the executing image and even then they should be relative to some fixed
'anchor' file.

We also insist on directory paths having a trailing terminator at all
times. It not only helps avoid having to check first before appending
the file name but on several occasions has helped us during debugging.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <4487e3bb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2704f07ba1df9321
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: Crazy CopyFile
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4487c9b8@newsgroups.borland.com> <4487d003@newsgroups.borland.com>
Date: Thu, 8 Jun 2006 09:45:46 +0100
User-Agent: XanaNews/1.18.1.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <4487e3bb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1149756347 217.207.223.34 (8 Jun 2006 01:45:47 -0700)
Lines: 18
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail