Hi,
thanks for your answer. I've tried to follow your suggestion but got the problem, that WNetAddConnection2 ended up in dwResult=67 (ERROR_BAD_NET_NAME) although the remote name I specified is a name that's listed in our company networks (see net.jpg).
I've tried then to use another function from within the SDK called WNetUseConnection. But then I got a general protection fault with dwResult=487 (ERROR_INVALID_ADDRESS).
I've attached a code segment containing both functions. Can you help me in solving my problem?
I've also tried to enumerate the net resources by function to get valid names (syntax...)for getting a hint but did not succeed in here.
Thanks in advance for your help..
Regards,
Manfred