Solved

SHGetSpecialFolderLocation ?

Posted on 1998-09-01
3
329 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now