Board index » cppbuilder » Re: Get Default User's Directory
Remy Lebeau (TeamB)
![]() CBuilder Developer |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
Re: Get Default User's Directory2005-12-17 06:37:18 AM cppbuilder38 "poojo hackma" <poojo.com/mail>wrote in message QuoteIs there a built in function that will allow me to set QuoteWhat should I look under in the BCB6 Help? has more up-to-date information than the help file. Gambit |
poojo hackma
![]() CBuilder Developer |
2005-12-17 07:01:32 AM
Re:Re: Get Default User's Directory
Thanks. That would have taken a while!
Quote
|
poojo hackma
![]() CBuilder Developer |
2005-12-19 11:28:10 PM
Re:Re: Get Default User's Directory
Borland doesn't like compiling these. What header do I need to include? The
Win32 help and MSDN do not say. "poojo hackma" <poojo.com/mail>wrote in message QuoteThanks. That would have taken a while! {smallsort} |
chenzero
![]() CBuilder Developer |
2005-12-19 11:44:41 PM
Re:Re: Get Default User's Directory
"poojo hackma" <poojo.com/mail>写入消息新闻
: XXXX@XXXXX.COM ... QuoteBorland doesn't like compiling these. What header do I need to include? msdn.microsoft.com/library/default.asp tform/shell/reference/functions/shgetspecialfolderlocation.asp however, I found that must define NO_WIN32_LEAN_AND_MEAN macro and don't why. #define NO_WIN32_LEAN_AND_MEAN #include <shlobj.h>// add this header before <vcl.h> Regards, chenzero |
poojo hackma
![]() CBuilder Developer |
2005-12-19 11:52:21 PM
Re:Re: Get Default User's Directory
That helped Borland to understand. Thanks!
QuoteHi Poojo, |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2005-12-20 03:46:54 AM
Re:Re: Get Default User's Directory
"chenzero" < XXXX@XXXXX.COM >wrote in message
Quote#define NO_WIN32_LEAN_AND_MEAN shlobj.h before vcl.h. Also, you should put NO_WIN32_LEAN_AND_MEAN in the Conditionals list of the Project Options rather than in the actual code. Gambit |