• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 271
  • Last Modified:

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

0
rakhras
Asked:
rakhras
1 Solution
 
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now