G**T 发帖数: 388 | 1 hoho, got answer from a NX:
You can look it up on MSDN for the exact reason, but its basically because
Integers are the 32 bit types in .NET, where Longs where in VB6.
When you declare an API as returning a Long in .NET, the return is actually
the real return value plus more. That's why it looks like a random number.
reference(add
(ByVal
the |
|