BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to know windows path

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
zhan wei ming
Guest





PostPosted: Sun Sep 10, 2006 8:10 am    Post subject: how to know windows path Reply with quote



hi there,
what's the API to get the location of OS(windows)?

thanks,
Zhan
Back to top
Michel Leunen
Guest





PostPosted: Sun Sep 10, 2006 1:42 pm    Post subject: Re: how to know windows path Reply with quote



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





PostPosted: Tue Sep 12, 2006 2:13 am    Post subject: Re: how to know windows path Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.