Hello,
shlobj.pp defines the following:
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.