Click here to Skip to main content
15,887,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CombineRgn for 4 regions Pin
hell_admin11-Jul-06 22:20
hell_admin11-Jul-06 22:20 
GeneralRe: CombineRgn for 4 regions Pin
Hamid_RT11-Jul-06 22:52
Hamid_RT11-Jul-06 22:52 
Questionhelp in threads Pin
Nirmal Khatri11-Jul-06 21:17
Nirmal Khatri11-Jul-06 21:17 
AnswerRe: help in threads Pin
Abhi Lahare11-Jul-06 21:35
Abhi Lahare11-Jul-06 21:35 
AnswerRe: help in threads Pin
Hamid_RT11-Jul-06 22:01
Hamid_RT11-Jul-06 22:01 
Questiondocumentation Pin
MozhdehQeraati11-Jul-06 20:39
MozhdehQeraati11-Jul-06 20:39 
AnswerRe: documentation Pin
eusto11-Jul-06 21:29
eusto11-Jul-06 21:29 
QuestionSHGetSpecialFolderLocation Pin
Maxime Labelle11-Jul-06 20:32
Maxime Labelle11-Jul-06 20:32 
Hi,

The ::SHGetSpecialFolderPath() function is available as part of Internet Explorer 4.0. I would like to emulate this function, on systems with an earlier version of Internet Explorer. Typically, I need my software to run on plain vanilla Windows NT 4.0.

I would like to know if it's possible to emulate this function using ::SHGetSpecialFolderLocation() which is available on my target platform?

The problem is :

::SHGetSpecialFolderLocation(CSIDL_APPDATA) returns an ITEMIDLIST that contains something like "Document and Settings" on my XP box, instead of something more like I would expect, something like "C:\Document and Settings\UserName\Application Data".

Should I revert to using an environment variable? Is there a better solution?

Thanks for your help.



--
Maxime Labelle
maxime.labelle@freesurf.fr
AnswerRe: SHGetSpecialFolderLocation Pin
Don Box11-Jul-06 21:23
Don Box11-Jul-06 21:23 
GeneralRe: SHGetSpecialFolderLocation Pin
Maxime Labelle11-Jul-06 21:54
Maxime Labelle11-Jul-06 21:54 
AnswerRe: SHGetSpecialFolderLocation Pin
Jonas Hammarberg11-Jul-06 21:29
professionalJonas Hammarberg11-Jul-06 21:29 
GeneralRe: SHGetSpecialFolderLocation Pin
Maxime Labelle11-Jul-06 21:53
Maxime Labelle11-Jul-06 21:53 
GeneralRe: SHGetSpecialFolderLocation [modified] Pin
Jonas Hammarberg11-Jul-06 22:20
professionalJonas Hammarberg11-Jul-06 22:20 
GeneralRe: SHGetSpecialFolderLocation Pin
Maxime Labelle12-Jul-06 3:36
Maxime Labelle12-Jul-06 3:36 
QuestionDifficult to understand PrintPreview without Doc/View Pin
mikobi11-Jul-06 20:15
mikobi11-Jul-06 20:15 
QuestionSELECT * FROM - Tablename which has spaces Pin
Tara1411-Jul-06 20:09
Tara1411-Jul-06 20:09 
AnswerRe: SELECT * FROM - Tablename which has spaces Pin
Steve Echols11-Jul-06 20:35
Steve Echols11-Jul-06 20:35 
GeneralRe: SELECT * FROM - Tablename which has spaces Pin
Tara1411-Jul-06 20:43
Tara1411-Jul-06 20:43 
GeneralRe: SELECT * FROM - Tablename which has spaces Pin
Tara1411-Jul-06 20:50
Tara1411-Jul-06 20:50 
AnswerRe: SELECT * FROM - Tablename which has spaces Pin
toxcct11-Jul-06 21:14
toxcct11-Jul-06 21:14 
QuestionOwner Draw Pin
Try11-Jul-06 19:56
Try11-Jul-06 19:56 
AnswerRe: Owner Draw Pin
led mike11-Jul-06 20:11
led mike11-Jul-06 20:11 
GeneralRe: Owner Draw Pin
Code_Zombie11-Jul-06 20:25
Code_Zombie11-Jul-06 20:25 
AnswerRe: Owner Draw Pin
Hamid_RT11-Jul-06 23:10
Hamid_RT11-Jul-06 23:10 
QuestionProblem with STL Pin
Super Lloyd11-Jul-06 19:28
Super Lloyd11-Jul-06 19:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.