shlobj.pp SHStartNetConnectionDialogA problem lazarus / 67-Windows ---------------------------------------------------------------------- 440bx · 2025-09-15 03:17 Hello, shlobj.pp defines 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 SHStartNetConnectionDialogA(hwnd:HWND; pszRemoteName:lpcstr; dwType:DWord):HRESULT;StdCall;external External_library name 'SHStartNetConnectionDialogA';  function SHStartNetConnectionDialogW(hwnd:HWND; pszRemoteName:lpcwstr; dwType:DWord):HRESULT;StdCall;external External_library name 'SHStartNetConnectionDialogW'; The problem is the _named_ function SHStartNetConnectionDialogA  does _not_ exist from WinXP onwards.  A program that statically uses that function will fail to load. The "W" entry point does exist. FYI: SHStartNetConnectionDialogA is available as ordinal 12 (unnamed and undocumented) from Win XP to Win 11. It would probably be indicated to remove SHStartNetConnectionDialogA  or at least put a comment that the function is not available from Win XP onwards and to use the "W" version instead since that one is available. HTH.