A
Andrew Wiles
Any thoughts on why the following leads to a System.NullReferenceException?
long level = 1;
long index = 0;
long entriesRequested = 100;
long preferedMaximumLength = 30000;
IntPtr bufptr = new IntPtr(preferedMaximumLength);
ArrayList arrayUsers = new ArrayList();
string sName = \\myservername;
int hResult = NetQueryDisplayInformation(sName, level, index,
entriesRequested, preferedMaximumLength, out bufptr);
long level = 1;
long index = 0;
long entriesRequested = 100;
long preferedMaximumLength = 30000;
IntPtr bufptr = new IntPtr(preferedMaximumLength);
ArrayList arrayUsers = new ArrayList();
string sName = \\myservername;
int hResult = NetQueryDisplayInformation(sName, level, index,
entriesRequested, preferedMaximumLength, out bufptr);