shlobj.pp SHCreateFileExtractIconA problem lazarus / 67-Windows ---------------------------------------------------------------------- 440bx · 2025-09-15 14:57 Hello, shlobj.pp declares the following: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   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. ---------------------------------------------------------------------- AlexTP · 2025-09-15 15:59 FPC supports now Win7 or later, so if WinXP misses it, it must be deleted.