🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How Getting ptah of <C:\Documents and Settings\alluser> folder

#5452
From: sam
Date: Wed, 17 Aug 2005 13:07
13 lines
1394 bytes
I need to place application data on this path <C:\Documents and
Settings\alluser\Application Data> for *any Windows installed*.
I used this code:
     char Path[MAX_PATH+1];
     SHGetSpecialFolderPath(GetActiveWindow(), Path, CSIDL_COMMON_APPDATA ,
TRUE);
but CSIDL_COMMON_APPDATA  can't be used if Shell and Common Controls
Versions 5 is not installed.
So How is it possible to get this directory path <C:\Documents and
Settings\alluser\Application Data> on Windows 95/98 that have Shell and
Common Controls Versions 4.70 ?

Sam
Technical Details
Message-ID: <43033672@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6638340ca3c38f1c,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "sam" <skneife3@wanadoo.fr>
From: "sam" <skneife3@wanadoo.fr>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How Getting ptah of <C:\Documents and Settings\alluser> folder
Date: Wed, 17 Aug 2005 15:07:08 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 213.223.64.37
Message-ID: <43033672@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124284018 213.223.64.37 (17 Aug 2005 06:06:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeder.wxs.nl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail