🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by zhan wei ming Sun, 10 Sep 2006 08:01
how to know windows path
#3010
Author: zhan wei ming
Date: Sun, 10 Sep 2006 08:01
5 lines
947 bytes
hi there,
what's the API to get the location of OS(windows)?

thanks,
Zhan 
Re: how to know windows path
#3011
Author: Michel Leunen
Date: Sun, 10 Sep 2006 08:42
15 lines
1269 bytes
zhan wei ming wrote:

 > what's the API to get the location of OS(windows)?

GetSystemDirectory() or GetWindowsDirectory() depending on what you need.

Michel

-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Re: how to know windows path
#3018
Author: Remy Lebeau (TeamB)
Date: Mon, 11 Sep 2006 21:13
10 lines
1181 bytes
"Michel Leunen" <nospam@noreply.please> wrote in message
news:4503cfcc$1@newsgroups.borland.com...

> GetSystemDirectory() or GetWindowsDirectory() depending on what you need.

Also SHGetSpecialFolderLocation() on newer versions.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads