Yeah I actually tried that thinking the same but had no luck with it.  I get
a return value of 0 which denotes failure of the GetVersionEx function.

I'll tinker some more though.

Paul Tretter

----- Original Message ----- 
From: "Brett Handley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 18, 2003 8:12 PM
Subject: [REBOL] Re: sizeof(structure)


>
> I haven't used it but from the library interface doco....
>
>     ;- returns the number of elements in the structure.
>     length? second a-struct
>
>     ;- returns the size, in bytes, of the structure.
>     length? third a-struct
>
> Regards,
> Brett.
>
> ----- Original Message -----
> From: "Paul Tretter" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 10:59 AM
> Subject: [REBOL] sizeof(structure)
>
>
> > Anyone know how to determine the "sizeof" a structure!.  I'm trying to
> pass OSVERSIONINFO structure to GetVersionEx and for some reason I think
I'm
> not getting the sizeof portion right to set dwOSVersionInfoSize.
> >
> > Paul Tretter
> >
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
> > --
> > To unsubscribe from this list, just send an email to
> > [EMAIL PROTECTED] with unsubscribe as the subject.
> >
> >
>
> -- 
> To unsubscribe from this list, just send an email to
> [EMAIL PROTECTED] with unsubscribe as the subject.
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to