Solved

SHGetSpecialFolderLocation ?

Posted on 1998-09-01
3
337 Views
Last Modified: 2008-03-03
How to use this api with delphi?
0
Comment
Question by:seb24
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:BlackDeath
ID: 1338351
hi, seb24 -

look at question "Program Group",
http://www.experts-exchange.com/topics/comp/lang/delphi/Q.10076715

i posted an appropriate comment a few moments ago.

regards,

Black Death.
0
 
LVL 1

Expert Comment

by:Edo082297
ID: 1338352
Hello Seb24

This API returns different a result depending on the parameters you supply. What exactly do you want to do?

Edo
0
 
LVL 4

Accepted Solution

by:
BoRiS earned 40 total points
ID: 1338353
seb24

var
 idlist: PItemIDList;
 path: array[0..MAX_PATH] of Char;
begin
  SHGetSpecialFolderLocation(0, CSIDL_FONTS, idlist);
   SHGetPathFromIDList(idlist, Path);
    Result := Path;
end;

Check the win32 help file for all the availabel CSIDL stuff...

Later
BoRiS
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question