C++ DWORD& in VB.net

  • Thread starter Thread starter Guest
  • Start date Start date
An integer is 32 bites wide as is a DWORD. So, maybe you want an UInt32 for
and unsigned integer?
 
Steve said:
An integer is 32 bites wide as is a DWORD. So, maybe you want an UInt32 for
and unsigned integer?

I don't see the original, so I'm replying to the reply. DWORD& is a
reference to an unsigned 32-bit integer, so strictly speaking it is
really equivalent to :

ByRef a As UInt32

But, for 99% of the cases:

ByRef a As Integer ' or Int32

Works just as well :)
 
Back
Top