1. Continuing my previous post.
I forgot to mention what the RASCONN structure is like:
typedef struct _RASCONN {
DWORD dwSize;
HRASCONN hrasconn;
TCHAR szEntryName[RAS_MaxEntryName + 1];
#if (WINVER >= 0x400)
CHAR szDeviceType[ RAS_MaxDeviceType + 1 ];
CHAR szDeviceName[ RAS_MaxDeviceName + 1 ];
#endif
} RASCONN ;
Oh, by the way, how do I pass strings as arguments to a C function or
procedure?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com