🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14985

Accessing network mapped drives from Windows XP Service (BCB 5.5)

#14985
From: Vish
Date: Thu, 24 Jul 2003 19:23
16 lines
1790 bytes
I was redirected to post this in this group, you input appreciated.
----------------------------------------------------------------
Hello,
 I have this application written in Borland C++ Builder 5.5 (running as
windows Service on XP Machine) and I am trying to access a network mapped
drive inside the application and it always returns error and doesn't
recognize the network mapped drive. (I am using SetCurrentDir(),
FileExists(), ForceDirectories() methods).

When the same runs as an application there is no problem in accessing the
network drive. Does anyone come across this problem and is there any
solution for this?

I appreciate your help in advance.
Thanks
Vish
Technical Details
Message-ID: <3f203232$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6c86b4bb62dd2b75,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-24 12:30:30 PST
Reply-To: "Vish" <roopan@hotmail.com>
From: "Vish" <roopan@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Accessing network mapped drives from Windows XP Service (BCB 5.5)
Date: Thu, 24 Jul 2003 13:23:30 -0600
Lines: 18
Organization: home
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 208.14.189.248
Message-ID: <3f203232$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059074610 208.14.189.248 (24 Jul 2003 12:23:30 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail