----boundary-LibPST-iamunique-1245988338_-_-
Content-type: text/plain
VAR
dWord: INTEGER;
...
...
dWord := 080000000H;
should do what you want. The value is actually -2147483648 when
interpreted as a signed integer.
Chris Burrows
CFB Software
http://www.cfbsoftware.com
> -----Original Message-----
> From: Martin, Marc [mailto:marc.martin{([at]})nowhere.xy> Sent: Friday, 6 August 2004 10:18 AM
> To: blackbox{([at]})nowhere.xy> Subject: Passing parameters to a Windows DWORD flag?
>
>
> Hi all,
>
> I'm sure this has been covered before, but I can't
> find any reference to it in my archives.
>
> I'm calling a Windows API function which requires
> a DWORD flag. This, I believe, is represented
> as a 32-bit unsigned integer. I want to pass
> to this parameter the value:
>
> decimal: 2147483647
> hex: 0x80000000
>
> In Component Pascal, do I declare this parameter
> as an INTEGER? SET? And what value do I pass to
> it, since this value is outside the range of a
> 32-bit signed integer?
>
> Thanks,
>
> Marc
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message
> containing the word "unsubscribe" to:
> blackbox-request{([at]})nowhere.xy>
> To get a list of valid e-mail commands and instructions on
> their usage, send a message containing the word "help" to the
> above address.
>
> Send any problem reports or questions related to this email
> list to the list owner at
> owner-blackbox{([at]})nowhere.xy>
> Current posting policy:
>
> a) To post you should use the same address by which you are
> subscribed to the mailing list. That way, the list server
> will recognize you as subscriber and forward your posting
> immediately, without creating any overhead.
>
> b) If, for some reason, you cannot post from the address, by
> which you are subscribed, your message will be moderated to
> avoid spam. Please understand that moderation will often
> cause some delay, in particular over weekends or holydays.
>
>
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-1245988338_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFZBUlxwYXINCiAgZFdvcmQ6IElOVEVHRVI7XHBh
cg0KLi4uXHBhcg0KLi4uXHBhcg0KICBkV29yZCA6PSAwODAwMDAwMDBIO1xwYXINClxwYXINCnNo
b3VsZCBkbyB3aGF0IHlvdSB3YW50LiBUaGUgdmFsdWUgaXMgYWN0dWFsbHkgLTIxNDc0ODM2NDgg
d2hlblxwYXINCmludGVycHJldGVkIGFzIGEgc2lnbmVkIGludGVnZXIuXHBhcg0KXHBhcg0KQ2hy
aXMgQnVycm93c1xwYXINCkNGQiBTb2Z0d2FyZVxwYXINCmh0dHA6Ly93d3cuY2Zic29mdHdhcmUu
Y29tXHBhcg0KXHBhcg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLVxwYXINCj4gRnJvbTog
TWFydGluLCBNYXJjIFttYWlsdG86bWFyYy5tYXJ0aW5AYm9laW5nLmNvbV0gXHBhcg0KPiBTZW50
OiBGcmlkYXksIDYgQXVndXN0IDIwMDQgMTA6MTggQU1ccGFyDQo+IFRvOiBibGFja2JveEBvYmVy
b24uY2hccGFyDQo+IFN1YmplY3Q6IFBhc3Npb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