rajat - 2000-08-16

i am using EZdav lib with V.c++ 6.0, i have initialized the
sockets by AfxSocketInit(); and used dav_connect it is
connecting tomy server but non of the file operations are
working, what do u mean by user info has to be provided
before hand,
////My Code
typedef int(*Connect1)(HTTP_CONNECTION *connect,const
char*,UINT,const char*,const char*);
typedef int(*Connect3)(HTTP_CONNECTION
*connect,LPCTSTR,LPCTSTR);
InitInstance()
{
HTTP_CONNECTION *Conn =  new HTTP_CONNECTION;
HINSTANCE hinst = LoadLibrary("WebDav.dll");
        Connect1 pFunction1 = (Connect1)
GetProcAddress(hinst,"dav_connect");
BOOL Z = pFunction1 (Conn,Server,80,Login,Pwd);
if (Z == 1)
{Connect4 pFunction2 = (Connect4)
GetProcAddresshinst,"dav_copy_from_server");
const char *A1 = "/index.htm";
const char *A2 = "c:\\Rajat";
BOOL M1 = pFunction2 (Conn,A1,A2);
}
}
pls send me help on this asap
thanx
Rajat