You are correct, the function returns a dword value, which is also the
length of a VB6 long.
Integers in VB6 are equivalent to C++ signed shorts (16bit), I believe.
In my experience there is no benefit in using integers over longs in VB;
they will be padded into dwords in the background anyway, as the size is
managed with less hassle in IA32.
I hope this helps.
Cheers,
Yiannis
*** Sent via Developersdex http://www.developersdex.com ***