Thank you thank you, that worked like a charm and cut some time off the
processing as well, great!
-----Original Message-----
From: Max Nilson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 25 July 2001 12:19 p.m.
To: Multiple recipients of list delphi
Subject: RE: RE: RE: [DUG]: hrGetOneProp
Jason Coley asks:
> When I do this I get a Incopatible Types TTagArray and TSPropTagArray
on
>
> Result := pmp.GetProps(@TagArray, 0, PropCount, Props);
>
> Any ideas?
Yes, lie to the compiler with some casting 8-)
Result := pmp.GetProps(PSPropTagArray(@TagArray), 0, PropCount, Props);
What you doing is defined a larger tag array than the default, but its
still
a tag array and the compiler just needs a little poking to get it to
believe
you about this.
Cheers, Max.
------------------------------------------------------------------------
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/