www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - extern(C) Variant: attempting to use incompatible types int and int

I know the problem that TypeInfo != TypeInfo in main and library 
context. Is there are a hack to get the data from the Variant 
even if the TypeInfo-check fails?

I assume the only workaround is using an own struct or serializer 
to achieve the same functionality?
Nov 15 2020