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
Slow app start on M5 MacB...
by
Thaddy
[
Today
at 03:36:57 pm]
Solpage
by
munair
[
Today
at 01:47:30 pm]
Isn’t this funny?
by
munair
[
Today
at 01:15:36 pm]
Need help with fphttpserv...
by
Thaddy
[
Today
at 12:58:30 pm]
Freepascal
by
Thaddy
[
Today
at 12:39:23 pm]
Lazarus interface to Rexx...
by
Thaddy
[
Today
at 12:38:10 pm]
Parsing error?
by
Thaddy
[
Today
at 12:02:02 pm]
Many recent books on Laza...
by
Thaddy
[
Today
at 11:52:49 am]
is there PDS reader/expor...
by
cdbc
[
Today
at 10:55:30 am]
Peculiarities in the EXE ...
by
marcov
[
Today
at 09:57:51 am]
Conscious Artificial Inte...
by
schuler
[July 14, 2026, 11:40:27 pm]
Lazarus Bugfix Release 4....
by
Martin_fr
[July 14, 2026, 10:55:23 pm]
equivalent to C/C++ "offs...
by
Thaddy
[July 14, 2026, 07:37:23 pm]
LazSWatch - a serial port...
by
CM630
[July 14, 2026, 06:11:52 pm]
MarcoV, please contact. ...
by
jbthiel
[July 14, 2026, 05:35:26 pm]
lazbuild vs IDE: PPU chec...
by
Martin_fr
[July 14, 2026, 05:30:50 pm]
OpenDocument('Filename') ...
by
cdbc
[July 14, 2026, 12:45:35 pm]
TCollection wiki entry
by
Thaddy
[July 14, 2026, 10:56:03 am]
Install new .deb over exi...
by
Thaddy
[July 14, 2026, 07:16:45 am]
I have made some progress...
by
egsuh
[July 14, 2026, 05:36:50 am]
Lazarus Main not building...
by
dbannon
[July 14, 2026, 03:01:32 am]
[SOLVED] WASM import erro...
by
lebao3105
[July 13, 2026, 05:51:47 pm]
Discipline your AI coding...
by
Weiss
[July 13, 2026, 04:37:42 pm]
Hello. I'm new to this co...
by
zeljko
[July 13, 2026, 02:17:38 pm]
weird error message
by
cdbc
[July 13, 2026, 12:23:13 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: shlobj.pp SHCreateFileExtractIconA problem (Read 430 times)
440bx
Hero Member
Posts: 6556
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