How can I map a network drive using install script? I tried using WNetAddConnection2A in mpr.dll, but it didn't work.
Also I used WNetGetConnection2A to get the conneciton information of an already mapped drive. Eventhough the function returns ERROR_SUCCESS, I am getting some garbage value in the UNC path return string.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How to map a dirve using install script?
Started by
vkj
, Oct 07 2002 12:16
1 reply to this topic
Posted 07 October 2002 - 12:59
I believe these APIs are using Unicode strings, so you must call the appropriate API to convert your strings.
Stefan Krüger
InstallSite.org twitter facebook