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
Solved

SHGetSpecialFolderLocation ?

Posted on 1998-09-01
3
333 Views
Last Modified: 2008-03-03
How to use this api with delphi?
0
Comment
Question by:seb24
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Title # Comments Views Activity
indy Tmemory stream non latin charcter issue 2 121
code issue 8 155
enhance the following code 3 37
Delphi problems to abort a printjob 9 24
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…

837 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