[fpc-pascal]Links in Windows
sguenther at gmx.de
Mon Oct 15 20:33:20 CEST 2001
"Andreas K. Foerster" wrote:
> how can i create Links in Windows?
you have to use the shell object library for this (shlobj unit in
Delphi, but it seems that FPC doesn't have a translation of the
according Platform SDK header file,s shlobj.h, yet?)
This involves interfaces (IShellLink etc.), so you would have to use FPC
> And more special: how can i create enties in the Windows start-menu?
Get the path (or pathes) to the 'Start menu' directory using
SHGetSpecialFolderLocation or SHGetSpecialFolderPath (both functions are
part of shlobj as well) and create the appropiate file links in them.
More information about the fpc-pascal