Hello,
I'd like to get network connection info using WNetGetConnection_() API.
I cannot get this function working... Could someone help me ?
Thanks for your help !
Regards,
Delta69
Need help with WNetGetConnection_()
Thanks for your help, but...
Hello,
Thanks for your help, I appreciate... But I'm afraid I've not the necessary skills to get the WNetGetConnection_() function work without additional help ...
If someone has already used this API before, I'm really intereted in seeing source code.
Regards,
Delta69
Thanks for your help, I appreciate... But I'm afraid I've not the necessary skills to get the WNetGetConnection_() function work without additional help ...

If someone has already used this API before, I'm really intereted in seeing source code.
Regards,
Delta69
something like this ?
Code: Select all
LenDestination=255
Source.s="D:\"
Destination.s=Space(256)
If OpenLibrary(1,"MPR.DLL")
result=CallFunction(1,"WNetGetConnectionA",@Source.s,@Destination.s,@LenDestination)
;If Result<>0 there is a Error
MessageRequester("Info",Str(Result)+":"+Str(LenDestination),0)
Else
Beep_(100,100)
MessageRequester("Info","DLL not found",0)
EndIf
End
SPAMINATOR NR.1
Thank you !
Hello Rings;
Thanks a lot for your help, I made a big step !
By the way, the backslash in the source string seems unnecessary.
Once again, thank you !
Regards,
Delta69
Thanks a lot for your help, I made a big step !
By the way, the backslash in the source string seems unnecessary.
Once again, thank you !
Regards,
Delta69