>. find out the hostname of the machine that the code is
>> running on
BOOL GetComputerName( LPTSTR, LPDWORD)
>> is there a way to mount a network drive
Are you asking about mapping the drive?
NET_API_STATUS NetUseAdd (
LPWSTR UncServerName,
DWORD Level,
LPBYTE Buf,
LPDWORD ParmError
);
Hope this helps
-pete