G
Guest
Hi all,
I'm working on an interoperability project
I have a huge c++ MFC application that supports a plug-in interface
I'm developing a plug in in C#
sometimes the c++ pass invalid variants to the plug-in interface.
between the c++ and c# i have a dll (in c++ ) that instances the objects in
C# code
and does some pre-processing actions on the parameters. I would like in this
dll to check the variant parameters that will be passed to C# in order to
avoid passing invalid variants to .net.
Is there a simple function or procedure in the c++ libraries that can tell
me if a variant is invalid? so that i can avoid passing it to C#?
thanks!
I'm working on an interoperability project
I have a huge c++ MFC application that supports a plug-in interface
I'm developing a plug in in C#
sometimes the c++ pass invalid variants to the plug-in interface.
between the c++ and c# i have a dll (in c++ ) that instances the objects in
C# code
and does some pre-processing actions on the parameters. I would like in this
dll to check the variant parameters that will be passed to C# in order to
avoid passing invalid variants to .net.
Is there a simple function or procedure in the c++ libraries that can tell
me if a variant is invalid? so that i can avoid passing it to C#?
thanks!