Solved

SHGetSpecialFolderLocation ?

Posted on 1998-09-01
3
345 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month2 days, 18 hours left to enroll

622 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