Hello,

A method I'm writing takes a variant as its argument, which MUST be a
variant of varVariant. In other words, it must be created with
VarArrayCreate([0, max], varVariant). How can I validate this? I haven't
found a way yet to obtain the base type of a variant array yet. All I seem
to be able to check is VarIsArray, but that only tells me the variant is an
array, but not what the base type is.

Peter Laman
Senior Software Engineer
Lance ICT Group
Roermond, the Netherlands
http://www.lance-safety.com
-
"Nobody ever died of hard work", they say. But why take the risk? (Ronald
Reagan)

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to