🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Temp Directory

#14376
From: Rodolfo Frino
Date: Mon, 18 Aug 2003 21:44
22 lines
1404 bytes
If you refer to this temp then you can use GetTempPath:

   char Buffer[MAX_PATH];

   char*  p = Buffer;

   GetTempPath(sizeof(Buffer), p);

   ShowMessage(String(p));

Rodolfo

"Andrea" <ap_removethis@kamus.it.removethis> wrote in message
news:s4h2kv4e2lb771e0d7b5e82gsge972j8aq@4ax.com...
> Hi,
>
> There is an API to get the Temp Directory of the operating system ?
>
> Many Thanks,
>
> Andrea Peri.
>
Technical Details
Message-ID: <3f4148c3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <s4h2kv4e2lb771e0d7b5e82gsge972j8aq@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8f9ea338f8951dfc
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-18 15:12:03 PST
From: "Rodolfo Frino" <rodolfofrino@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <s4h2kv4e2lb771e0d7b5e82gsge972j8aq@4ax.com>
Subject: Re: Temp Directory
Date: Tue, 19 Aug 2003 07:44:58 +1000
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 203.206.17.34
Message-ID: <3f4148c3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061243075 203.206.17.34 (18 Aug 2003 14:44:35 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail