Subj : Re: Windows XP Service Access to Network Mapped Drives problem To : borland.public.cpp.borlandcpp From : "Vish" Date : Thu Jul 24 2003 02:18 pm Hi Bob, Thanks for your reply, can you explain little more about connecting using UNC in service?. When I was running this service I am already logged in as me and I see the network mapped drive alive and active. Thanks. Vish "Bob Gonder" wrote in message news:9880ivka82g1dectrm1i7ate0l7v6rolc1@4ax.com... > Vish wrote: > > > 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. Do anyone has any solution for this? > >When the same runs as application there is no problem in accessing the > >network drive, it is giving problem only while running as service. > > I'm probably blowing smoke here, but it seems to me that mapped drives > are a "user" thing, and services are a "system" thing. So the service > could not know/rely on the user's settings (because a different user > could log on, and there goes the mapping). > > The service should use the UNC for the connection. > > .