General information
Category:
Windows API functions
>>>DECLARE integer netaddconnection IN WIN32API string,string,string
>>>=wnetaddconnection("\\myserver\myshare","","x:")
>>>but I get the error, the entrypoint is not found. What am I missing? Please help!
>>>
>>>TIA,
>>>Jamuna
>>
>>The entry point may not be "present" for empty password. Try it with a correct password.
>>
>>Vlad
>
>I'm not sure I understand. Would you know where I can find more info about these functions?
Well, I never used this function and I don't have any other doc but Win32API Help file. It seems that you're using it correctly. So, if you're sure that your "\\myserver\myshare" exists, it might be a problem with the password you're sending (the second parameter). You can send a real user password and see what happens.
If you're on a Novell netware (the same for other netwares also, probably), the user must have access to the desired path you're passing as 1st parameter. You must also know that WNetAddConnection creates persistent connection, e.g. Windows will save it and it will recreate it automatically every time you boot you're system. Probably you'll have an error if you try to recreate an existing connection.
Vlad
Previous
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