Question abou AIP function: GetDiskFreeSpaceEx(...)

From: Jeffrey Meng (mengjinjie_at_yahoo.com)
Date: 09/01/04


Date: Wed, 1 Sep 2004 10:36:39 -0400

Hi All,

I am experiencing a problem here when using GetDiskFreeSpaceEx(...) API
funcion.

The scenario is simple:

(1). GetDiskFreeSpaceEx (\\127.0.0.1\C$\, ...) works.
(2). GetDiskFreeSpaceEx (\\localhost\C$\...) fails, and Last Error Code =
52.
(52 = You were not connected because a duplicate name exists on the network.
Go to System in Control Panel to change the computer name and try again.)

Could anyone tell me why (2) doesn't work? Do I need to conver "localhost"
to "127.0.0.1" to get it to work?

Thanks a lot.

Best,
Jeffrey Meng



Relevant Pages

  • error using FaxComEx
    ... "FAX_SRVR"), but it fails on the call to ConnectedSubmit, returning ... error code 800710D8 ("The object identifier does not represent a valid ... thinking that there might be a file security problem, ...
    (microsoft.public.windows.server.general)
  • Re: CreateDevice() returns D3DERR_INVALIDCALL
    ... it always fails with the error code ... dialog window isn't Direct3D, just one control. ... /// Our rendering device ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Kernel wont build: 6.1-RELEASE > 6.1-STABLE
    ... it fails out when dealing with umass. ... Try with a GENERIC config file, ... *** Error code 1 ...
    (freebsd-questions)
  • Re: Xine and mplayer will not install
    ... After a new install of 6.2beta3 and Gnome2.14.2 I am unable to install ... *** Error code 1 ... Xine fails for the same reason. ... vulnerability in the Quicktime codec, so as lint as it is not built ...
    (freebsd-questions)
  • Re: Load Balancing
    ... >We have two ADSL services coming into out building. ... So the scenario would like this. ... to jump from one connection to another when one fails, ...
    (freebsd-net)