Listen for a good friendly advice: never ever use Variants, unless they are required by some 3rd-party lame API. Imaginary benefits of this type is a pretty usual delusion which damages part of developers. Delphi and many other technologies are oriented to
strong typing,
https://en.wikipedia.org/wiki/Strong_and_weak_typing[
^].
Don't get me wrong, different typing
paradigms, such as
loose typing, can be extremely productive, especially in some
scripting (interpretive) languages, but trust me, most of such technologies are way better than the lame COM variants. Also, COM is badly obsolete, there is no a reason to follow its worst drawbacks.
—SA