>> And BTW, this has nothing to do the WinAPI. You happened to have gotten
>> decent answers, but you stand a better chance of getting answers if you
[quoted text clipped - 6 lines]
> Maybe it is appropriate as the OP is likely calling an API. In which case
> it's ok to use a long in 99% of cases.

Signature
Mike
Microsoft MVP Visual Basic
>>> And BTW, this has nothing to do the WinAPI. You happened to have gotten
>>> decent answers, but you stand a better chance of getting answers if you
[quoted text clipped - 9 lines]
> The OP didn't give ANY indication he was using the *Windows* API....and
> that's what this newsgroup is for.
Hard to believe I'm agreeing with Michael C <g>, but I sense he's giving the benefit
of the doubt to OP, thinking this to be a given and hence the posting in this group.
I can see the logic in that. Guy reading the API docs, wants to make a call, no
obviously comparable datatype. But then, the Subject sorta screws up that kindness.
Nah, Michael's definitely wrong. Again. <bg>

Signature
.NET: It's About Trust!
http://vfred.mvps.org
Michael C - 24 Sep 2007 03:03 GMT
> Hard to believe I'm agreeing with Michael C <g>, but I sense he's giving
> the benefit of the doubt to OP, thinking this to be a given and hence the
> posting in this group. I can see the logic in that. Guy reading the API
> docs, wants to make a call, no obviously comparable datatype. But then,
> the Subject sorta screws up that kindness. Nah, Michael's definitely
> wrong. Again. <bg>
I thought for once you were showing some sense. Likely the OP is is calling
an API in C# and want to do the same thing in VB6, or calling a C# function
which is going to be done via a declare.
Michael
Michael C - 24 Sep 2007 06:36 GMT
> Hard to believe I'm agreeing with Michael C <g>, but I sense he's giving
> the benefit of the doubt to OP, thinking this to be a given and hence the
> posting in this group. I can see the logic in that. Guy reading the API
> docs, wants to make a call, no obviously comparable datatype. But then,
> the Subject sorta screws up that kindness. Nah, Michael's definitely
> wrong. Again. <bg>
Also, notice that I said he *might* be calling an API, therefore I am most
definately absolutely positively 100% correct in my statement. :-)
Michael