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
Using callback
by
Zvoni
[
Today
at 01:26:38 pm]
Ellipses Function?
by
jamie
[
Today
at 12:58:34 pm]
FPC Unleashed (async/awai...
by
Thaddy
[
Today
at 12:46:26 pm]
Rounding issues (only wit...
by
Khrys
[
Today
at 11:38:55 am]
Lazarus for Windows on aa...
by
szlbz
[
Today
at 10:27:29 am]
Playing with GTK-server
by
Roland57
[
Today
at 10:11:06 am]
[New Component] ExtTabCtr...
by
wp
[
Today
at 10:04:27 am]
Some Lazarus documentatio...
by
dsiders
[
Today
at 09:40:28 am]
TCHATGPT — An Artificial ...
by
Thaddy
[
Today
at 09:11:03 am]
Slow app start on M5 MacB...
by
Thaddy
[
Today
at 06:34:10 am]
Review from FreePascal
by
n7800
[
Today
at 05:27:49 am]
Network drop and firewall
by
kupferstecher
[July 21, 2026, 07:11:07 pm]
How to check my own certi...
by
LeP
[July 21, 2026, 05:04:49 pm]
How can I get names of CO...
by
Thaddy
[July 21, 2026, 04:55:08 pm]
Accessing VRAM memory wit...
by
Thaddy
[July 21, 2026, 01:31:19 pm]
Fixed an RV32ec compiler ...
by
ccrause
[July 21, 2026, 12:04:05 pm]
[SOLVED} Copying existing...
by
Davo
[July 21, 2026, 11:59:45 am]
TDWEdit
by
Ed78z
[July 21, 2026, 09:53:10 am]
Elite Arcade
by
Zvoni
[July 21, 2026, 08:17:20 am]
Which quantized model wor...
by
LeP
[July 20, 2026, 10:34:07 pm]
PasFLTK - Binding for FLT...
by
Dibo
[July 20, 2026, 10:26:31 pm]
[Closed]Indy10 hangs the ...
by
marcov
[July 20, 2026, 03:52:59 pm]
Lazarus components
by
threedslider
[July 20, 2026, 02:37:23 pm]
Many recent books on Laza...
by
threedslider
[July 20, 2026, 02:27:45 pm]
[Solved]Setting the CURSO...
by
jamie
[July 20, 2026, 11:33:52 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: shlobj.pp SHCreateFileExtractIconA problem (Read 432 times)
440bx
Hero Member
Posts: 6560
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: 2725
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