VC++ 6.0 dll can not access a network drive



Hi All,

I have a VC 6.0 dll, which is called from one another exe. This dll in
turn will execute couple of programs in a network with CreateProcess.
When I ran the CreateProcess, my getlast error returned with error
code 3 (directory not found). I opened a dos box and I was able to
switch to the network drive without any problem.
I checked and made sure the user has full permission to the drive
where he is trying to access the files.
The program is running under vista OS. The server is Windows 2K3.

I wrote a simple console application in VC 6.0, which does nothing but
do a lookup on a file on the network and it successfully finding the
file. Doesn't have any problem in identifying the network, what could
be the problem in this one?

Any ideas why would this happen?

Thanks.

.



Relevant Pages

  • General DLL Questions - Best Practices? Suggestions? Comments?
    ... So we develop and maintain several applications used by several people ... rewrites of all the VB6 apps. ... The VB6 executables are all stored in a network folder, ... runs regsvr32.exe for each dll. ...
    (microsoft.public.dotnet.general)
  • Re: VC++ 6.0 dll can not access a network drive
    ... You would need to show the EXACT string provided to CreateProcess. ... You can only verify this works from a command shell (which is not a "DOS box") if you can ... I have a VC 6.0 dll, which is called from one another exe. ... turn will execute couple of programs in a network with CreateProcess. ...
    (microsoft.public.vc.mfc)
  • Re: PC moved to another network still looking for a server on the previous
    ... open out.txt and note down the odd DLL. ... Windows XP Shell/User ... I think it is a problem with windows as on my previous network I had address ... >> make a full reinstall of the PC I use really a lot of software. ...
    (microsoft.public.windowsxp.general)
  • Re: security execption
    ... The big difference there would be that the windows application is running as ... When the .dll is called the application is using the same network ... account that will have the proper permissions. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Registering DLL
    ... rather than a dll that called a program. ... Purchased software goes on user computer ... The dll and my application are supposed to be stored on a network ... register the dll. ...
    (microsoft.public.dotnet.languages.vb)

Loading