🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: API to locate write safe folders with Vista

#1520
From: LarryJ
Date: Thu, 26 Jul 2007 09:51
12 lines
1450 bytes
I found GetFolderPath( ) and fGetSpecialFolder( ) but I can't locate a list 
of the required #define files so it does not compile. This generates a call 
to an undefined function error. How can I make these work in BCB6.0?


WideString   fname1 = Environment::GetFolderPath(CSIDL_APPDATA);

 WideString  fname2 = fGetSpecialFolder(CSIDL_APPDATA);


Thanks
Larry 
Technical Details
Message-ID: <46a86e86$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!83.80.28.12.MISMATCH!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46a81fc9$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,94c5d653b16fb209
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "LarryJ" <LarryJ33@austin.rr.com>
From: "LarryJ" <LarryJ33@austin.rr.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <46a81fc9$1@newsgroups.borland.com>
Subject: Re: API to locate write safe folders with Vista
Date: Thu, 26 Jul 2007 04:51:03 -0500
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 72.179.15.98
Message-ID: <46a86e86$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185443462 72.179.15.98 (26 Jul 2007 02:51:02 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!83.80.28.12.MISMATCH!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail