🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetTempPath() and the ugly "~1" How to get the *full path* ??

#5522
From: Remy Lebeau (TeamB)
Date: Thu, 11 Aug 2005 17:24
37 lines
2564 bytes
"Oren Halvani" <xx@xx.com> wrote in message
news:42fb1cc6$1@newsgroups.borland.com...

> but there are several version of those files available... that
> means will the program run also under Win9.x or is the
> GetLongPathName() not implemented there......?

You did not read the documentation, did you?

    GetLongPathName
    http://msdn.microsoft.com/library/en-us/fileio/fs/getlongpathname.asp

    Client: Requires Windows "Longhorn", Windows XP, Windows 2000
Professional, Windows Me, or Windows 98.

    Server: Requires Windows Server "Longhorn", Windows Server 2003, or
Windows 2000 Server.

    Windows NT and Windows 95:  Include an additional header file called
NewAPIs.h to make GetLongPathName available on these operating systems. The
function is not implemented natively, but by a wrapper that uses other
native functions on these systems. For details about using preprocessor
directives that make the function available, see the NewAPIs.h header file.

NewAPIs.h is only available in BCB6, unless you download the latest Win32
API SDK from Microsoft.  I have uploaded the file to the .attachments
newsgroup for you.

> where can i check the version-history of the API files....?

    Shell and Common Controls Versions

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/versions.asp


Gambit
Technical Details
Message-ID: <42fb89ca$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42fa9d15@newsgroups.borland.com> <42faa901$1@newsgroups.borland.com> <42fab1ed@newsgroups.borland.com> <42fac38d$1@newsgroups.borland.com> <42fac82b@newsgroups.borland.com> <42faeeb4@newsgroups.borland.com> <42fb1cc6$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,420a348eb6918014
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42fa9d15@newsgroups.borland.com> <42faa901$1@newsgroups.borland.com> <42fab1ed@newsgroups.borland.com> <42fac38d$1@newsgroups.borland.com> <42fac82b@newsgroups.borland.com> <42faeeb4@newsgroups.borland.com> <42fb1cc6$1@newsgroups.borland.com>
Subject: Re: GetTempPath() and the ugly "~1"  How to get the *full path*  ??
Date: Thu, 11 Aug 2005 10:24:29 -0700
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42fb89ca$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123781066 68.69.17.41 (11 Aug 2005 10:24:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!txtfeed1.tudelft.nl!tudelft.nl!txtfeed2.tudelft.nl!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail