🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows System Directory Path

#6681
From: JBH
Date: Wed, 13 Apr 2005 13:25
14 lines
1180 bytes
Try this:

char SystemPath[MAX_PATH];
GetSystemDirectory(SystemPath, MAX_PATH);
Edit1->Text = AnsiString(SystemPath);

    -Jon


"Grety" <valid@emailaddress.com> wrote in message 
news:425d1768@newsgroups.borland.com...
> Hi
> I'd like to know Windows System Directory Path if possible.
> How can I write a sample code? any API? 
Technical Details
Message-ID: <425d1dc5@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <425d1768@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a0f4443d6894c679
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JBH" <jhanson@ae-solutions.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <425d1768@newsgroups.borland.com>
Subject: Re: Windows System Directory Path
Date: Wed, 13 Apr 2005 08:25:25 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 12.2.62.130
Message-ID: <425d1dc5@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113398725 12.2.62.130 (13 Apr 2005 06:25:25 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail