?
Solved

Getting fulling qualified network path

Posted on 1997-07-12
2
Medium Priority
?
263 Views
Last Modified: 2013-12-03
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
Comment
Question by:rakhras
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 150 total points
ID: 1400713
Have you tried ::WNetGetUniversalName() function? I am not sure if it works in this case.
0
 

Author Comment

by:rakhras
ID: 1400714
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question