General information
Category:
Windows API functions
Title:
Question on WNetAddConnection
All I am trying to map a network drive from WIN NT workstation with
WNetAddConnection:
DECLARE Integer WNetAddConnection IN WIN32API STRING @, STRING @, STRING @
lcRemoteName = "\\Computer\Resource"
lcPassword = "" && Connect using no password
lcLocalName = "E:"
? WNetAddConnection( @lcRemoteName, @lcPassword, @lcLocalName)
Returns error 1326 (invalid User I think). Can I pass a User-ID to this function?? if so where does it go in the declare and call?
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only