Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Windows
(Moderators:
FPK
,
Tomas Hajny
) »
shlobj.pp SHCreateFileExtractIconA problem
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
How many lines is too man...
by
marcov
[
Today
at 12:24:44 pm]
Update a table with an Au...
by
Zvoni
[
Today
at 11:36:18 am]
[Feature Request]Add Larg...
by
MarkMLl
[
Today
at 11:08:25 am]
FreePascal/Lazarus docume...
by
MarkMLl
[
Today
at 10:03:46 am]
PasLLM - LLM Inference En...
by
domasz
[
Today
at 08:53:15 am]
Debian removes FPC/Lazaru...
by
MarkMLl
[
Today
at 08:28:12 am]
Variable initialization
by
440bx
[
Today
at 05:17:47 am]
Lazarus IDE built for LCL...
by
dbannon
[March 05, 2026, 11:52:07 pm]
Should TEdit.Clear cause ...
by
Bart
[March 05, 2026, 10:07:40 pm]
Reset doesn't open ReadOn...
by
eny
[March 05, 2026, 09:29:24 pm]
unit ProjectDescriptorTyp...
by
n7800
[March 05, 2026, 09:27:11 pm]
Interface problem
by
PascalDragon
[March 05, 2026, 09:22:57 pm]
bgraformatui.pas(26,12) W...
by
PascalDragon
[March 05, 2026, 09:05:02 pm]
FPC says file exists, Laz...
by
cdbc
[March 05, 2026, 05:06:05 pm]
Lazarus Bugfix Release 4....
by
uganof
[March 05, 2026, 03:04:05 pm]
Add Help to an Applicatio...
by
1HuntnMan
[March 05, 2026, 02:41:40 pm]
composition instead of in...
by
BildatBoffin
[March 05, 2026, 01:16:31 pm]
Is it me or is there some...
by
jamie
[March 05, 2026, 12:03:37 pm]
Lazarus 4.x - ZeosdBo
by
essence-ciel
[March 05, 2026, 08:29:57 am]
Fpcupdeluxe
by
DonAlfredo
[March 05, 2026, 08:22:12 am]
BGRAVirtualScreen - weird...
by
backprop
[March 05, 2026, 08:20:04 am]
Question about fpreport
by
ginoo
[March 05, 2026, 07:17:44 am]
Status of Fresnel Project...
by
dbannon
[March 05, 2026, 06:11:31 am]
https://live.freepascal.o...
by
PierceNg
[March 05, 2026, 05:15:59 am]
Lazarus Woes (4.2)
by
Martin_fr
[March 04, 2026, 09:22:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: shlobj.pp SHCreateFileExtractIconA problem (Read 330 times)
440bx
Hero Member
Posts: 6119
shlobj.pp SHCreateFileExtractIconA problem
«
on:
September 15, 2025, 04:57:08 pm »
Hello,
shlobj.pp declares the following:
Code: Pascal
[Select]
[+]
[-]
function
SHCreateFileExtractIconA
(
pszFile
:
lpcstr
;
dwFileAttributes
:
DWord
;
constref riid
:
TREFIID
;
ppv
:
Ppointer
)
:
HRESULT
;
StdCall
;
external
External_library
name
'SHCreateFileExtractIconA'
;
function
SHCreateFileExtractIconW
(
pszFile
:
lpcwstr
;
dwFileAttributes
:
DWord
;
constref riid
:
TREFIID
;
ppv
:
Ppointer
)
:
HRESULT
;
StdCall
;
external
External_library
name
'SHCreateFileExtractIconW'
;
The problem is the "A" version of this function does _not_ exist in Win XP onwards.
A note indicating that condition might be appropriate (or possibly a "deprecated" message)
HTH.
Logged
FPC v3.2.2 and Lazarus v4.0rc3 on Windows 7 SP1 64bit.
AlexTP
Hero Member
Posts: 2676
Re: shlobj.pp SHCreateFileExtractIconA problem
«
Reply #1 on:
September 15, 2025, 05:59:34 pm »
FPC supports now Win7 or later, so if WinXP misses it, it must be deleted.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Windows
(Moderators:
FPK
,
Tomas Hajny
) »
shlobj.pp SHCreateFileExtractIconA problem
TinyPortal
© 2005-2018