| View previous topic :: View next topic |
| Author |
Message |
zhan wei ming Guest
|
Posted: Sun Sep 10, 2006 8:10 am Post subject: how to know windows path |
|
|
hi there,
what's the API to get the location of OS(windows)?
thanks,
Zhan |
|
| Back to top |
|
 |
Michel Leunen Guest
|
Posted: Sun Sep 10, 2006 1:42 pm Post subject: Re: how to know windows path |
|
|
zhan wei ming wrote:
| Quote: | 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/
---------------------------------------- |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Sep 12, 2006 2:13 am Post subject: Re: how to know windows path |
|
|
"Michel Leunen" <nospam (AT) noreply (DOT) please> wrote in message
news:4503cfcc$1 (AT) newsgroups (DOT) borland.com...
| Quote: | GetSystemDirectory() or GetWindowsDirectory() depending on what you need.
|
Also SHGetSpecialFolderLocation() on newer versions.
Gambit |
|
| Back to top |
|
 |
|