Page 2 of 2

Posted: Wed Aug 16, 2006 2:00 am
by newbie
I found this variable type on MSDN :

LARGE_INTEGER :
http://msdn.microsoft.com/library/defau ... er_str.asp

Is this value a QUAD ?
Or do we have to make the complex structure shown on the link above ?

EDIT : while I'm at it, in a C structure on MSDN I see :

Code: Select all

typedef struct {
    DWORD var1;
    PVOID myvar[constant_size];
} struct name
I know DWORD is a LONG in PureBasic, but I don't see what is the "PVOID myvar[constant_size]". They say it's a "pointer to an array of opaque data", and I don't understand if it's just a simple long pointer in PB "*my_pointer.l" or something more complex ?

Sometimes, I'm glad to use basic language :)

Thanks in advance for the answers ;)

Posted: Wed Aug 16, 2006 2:15 am
by netmaestro
PureBasic natively recognizes the LARGE_INTEGER structure, you can find it under tools-structure viewer. You can PeekQ and PokeQ values between this type and Quad, but you can't do direct assignments.

Posted: Wed Aug 16, 2006 2:37 am
by newbie
Didn't see it, I thought it was another C++ extraterrestrial syntax :oops:
Thanks ;)

Posted: Thu Feb 15, 2007 12:49 am
by SFSxOI
I know this is a kind of old thread. UINT32 is 4 bytes or 8 bytes? 4 I think from reading, what was the final decision....UNIT32 long?

Posted: Thu Feb 15, 2007 12:59 am
by ts-soft
UINT32 is a 4 Byte unsigned Long

Posted: Thu Feb 15, 2007 12:09 pm
by SFSxOI
Thanks ts-soft :)