Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi insists on UNC paths!

0 views
Skip to first unread message

Don Gollahon

unread,
May 21, 2002, 2:49:21 PM5/21/02
to
Why does Delphi insist on using the UNC path when adding a unit to a project
from a shared drive? This is extremely frustrating!

Delphi 5 pro on Win2K over a Win2K network and servers.

--

Don Gollahon
(goll...@geneseo.net)

Gardner Lloyd Bickford III

unread,
May 21, 2002, 3:26:16 PM5/21/02
to
What other path types are there? You can map a drive and Delphi shouldn't be
able to tell the difference.

Regards,
Gardner

Don Gollahon

unread,
May 22, 2002, 12:20:24 AM5/22/02
to
The problem is, I add a unit to a project and save it as

O:\mypath\unit.pas

For some reason Delphi saves the path in the DPR file as:

\\computername\myshare\mypath\unit.pas

Instead of

O:\mypath\unit.pas

I forget to check this before I check it in to our version control system.
Then the next developer checks it out and can't get to it because he don't
have rights to my area. That is a big problem and very frustrating. Our
developers each have their own private O drive mapped to a development
server. This way our version control is consistent with what directories
are used.


"Gardner Lloyd Bickford III" <Gar...@TriAxialData.com> wrote in message
news:3CEA9F58...@TriAxialData.com...

John Carlyle-Clarke

unread,
May 22, 2002, 4:31:32 AM5/22/02
to
"Don Gollahon" <dlg...@theinter.com> wrote in
news:3ceb1ca7$1_1@dnews:

> The problem is, I add a unit to a project and save it as
>
> O:\mypath\unit.pas
>
> For some reason Delphi saves the path in the DPR file as:
>
> \\computername\myshare\mypath\unit.pas
>
> Instead of
>
> O:\mypath\unit.pas
>

I think this is something to do with the OS, because a lot of programs
exhibit this behaviour, including MS Word.

The worst thing I've seen Delphi do is add some files to the project
using the mapped drive letter (e.g. S:\projects\wizzo ) and the some
using UNC (e.g. \\bigserver\software\projects\wizzo). The RISK here is
that when you copy the project to another location, all the files that
were in one format move to the new location, and all the files in the
other format remain using absolute paths pointing to the original
location. Very nasty!

0 new messages