Getting fulling qualified network path

Hi,

I am writing a VC5 application and I need to get the fully qualified network path of a drive on the machine from which I am runnning my application.
So if my drive D: is shared as DRIVE_D and my computer is known  to the network as MY_COMPUTER, I'd like to programatically convert drive d: to \\MY_COMPUTER\DRIVE_D

I could not find any Windows 95 API to do that.

Thanks for your help.
Ralph.
rakhras@hotmail.com

rakhrasAsked:
Who is Participating?
 
chensuCommented:
Have you tried ::WNetGetUniversalName() function? I am not sure if it works in this case.
0
 
rakhrasAuthor Commented:
Miscrosoft has reported that WNetGetUniversalName fails under Windows 95. I found however some sample code provided by Microsoft that performs the same functionality.
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.