🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#5512
From: Oren Halvani
Date: Thu, 11 Aug 2005 02:09
28 lines
1733 bytes
this is strange, at the MSDN i've seen this:

--------------------------------------------------------------
typedef struct _WIN32_FIND_DATA
{
   DWORD dwFileAttributes;
   FILETIME ftCreationTime;
   FILETIME ftLastAccessTime;
   FILETIME ftLastWriteTime;
   DWORD nFileSizeHigh;
   DWORD nFileSizeLow;
   DWORD dwReserved0;
   DWORD dwReserved1;
   TCHAR cFileName[MAX_PATH];
   TCHAR cAlternateFileName[14];
}

  WIN32_FIND_DATA,
*PWIN32_FIND_DATA,
*LPWIN32_FIND_DATA;
--------------------------------------------------------------

so the next question in how do i get the path additional to the
cFileName...?



Oren
Technical Details
Message-ID: <42fab340@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,420a348eb6918014
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 11 Aug 2005 04:09:05 +0200
From: Oren Halvani <xx@xx.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: GetTempPath() and the ugly "~1"  How to get the *full path* 
 ??
References: <42fa9d15@newsgroups.borland.com> <42faa901$1@newsgroups.borland.com>
In-Reply-To: <42faa901$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 84.176.90.53
Message-ID: <42fab340@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123726144 84.176.90.53 (10 Aug 2005 19:09:04 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail