Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Mar : File control functions on network installation: problems

www.cryer.info
Managed Newsgroup Archive

File control functions on network installation: problems

Subject:File control functions on network installation: problems
Posted by:"Mark Kimball" (mkimba..@sbcglobal.net)
Date:10 Mar 2005 10:52:48

HELP!  I recently installed a multiuser network application.  I
had problems with calls to FindFirst and FindNext not returing
files that I knew existed.  I discovered that the path I am
using, which is derived from Paramstr(0), does not include the
actual mapped drive letter (in this case 'T').  The directory
part returned from my call to ProcessPath is
'\Sbs2003\TrackProg', instead of 'T:\TrackProg'.  (Sbs2003 is
the server name.)  GetCurrentPath yields the same result.

Is there a function available that converts a UNC-format path to
one that contains the drive letter?  Any information would be
GREATLY appreciated.

Replies:

www.cryer.info
Managed Newsgroup Archive