Archive: System::Call PathIsNetworkPath


System::Call PathIsNetworkPath
Hi

I am have troubles calling to win32 shlwapi32::PathIsNetworkPath

Trying

System::Call 'shlwapi::PathIsNetworkPath(t $EXEPATH) .r1'


Resulting R1 to hold empty string

I also found this post with similar issue which suggested the following

System::Call 'shlwapi32::PathIsNetworkPath(t "C:\Users\Oren\Documents\NSIS") i .r0 ?e'


But in this case $0 holds the value error

Please advise

Tx

Oren

System::Call `Shlwapi::PathIsNetworkPath(t "$EXEPATH") i.r1`
Stu

This works.

Can you please explain what is the problem with the two ways i have tried?

tx

Oren


For the first one you are 1. missing quotes around the path string and 2. missing a type for the return value (i).

The second one would have worked except shlwapi32.dll doesn't exist (at least not on my machine).

Stu


Thanks a lot mate
:up: