Archive: Trouble with System::Call


Trouble with System::Call
I am trying to access the "PathIsNetworkPath" from shlwapi.dll...I am not having much success:

System::Call 'shlwapi32::PathIsNetworkPathA(t "T:\") i .r0 ?e'
Pop $R1

Any hints would be appreciated.

---- http://msdn2.microsoft.com/en-us/library/bb773640.aspx
Minimum DLL Version shlwapi.dll version 5.0 or later

BOOL PathIsNetworkPath(
LPCTSTR pszPath
);


It's shlwapi, not shlwapi32.


That helped a bit.

I am getting gibberish return codes of 997 or 126 however :)


That's because you're looking in $R1 instead of $0.