C++ DWORD& in VB.net

S

Steve Long

An integer is 32 bites wide as is a DWORD. So, maybe you want an UInt32 for
and unsigned integer?
 
T

Tom Shelton

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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top