🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#5513
From: Remy Lebeau (TeamB)
Date: Thu, 11 Aug 2005 03:18
19 lines
1639 bytes
"Oren Halvani" <xx@xx.com> wrote in message
news:42fab1ed@newsgroups.borland.com...

> Remy, i've tryed: GetLongPathName() but the compiler
> didn't recognized it what do i need to include..?

You seriously need to learn to start reading documentation before you ask
such things.

You don't need to include anything for GetLongPathName().  It is declared in
winbase.h, which is included by windows.h, which is included by vcl.h.  In
other words, the function is always available.

If the compiler does not recognize the function, then you must be using BCB
1 or 3, because GetLongPathName() has been available to Borland since BCB4.


Gambit
Technical Details
Message-ID: <42fac38d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!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>

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>
Subject: Re: GetTempPath() and the ugly "~1"  How to get the *full path*  ??
Date: Wed, 10 Aug 2005 20:18:34 -0700
Lines: 21
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: <42fac38d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123730317 68.69.17.41 (10 Aug 2005 20:18:37 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail