Hi all ,
I have a native c++ class which has a method prototyped like :
void f ( void *p1 , void *p2 , void *p3) ....
on the other hand there is a .Net component which uses this class with
an adaptor written in Mc++.
The adaptor gets 'params Object *args' iterating the args and query
the real type of each Object* via GetType().
when revealing the type it should create this value cast it to void*
and then pass it to 'f method' mentioned ealier.
For example it the type is System::Int32 it shoud create an int assign
him the value and cast it to void * and pass it to f.
I couldn't figure out the way to do it .
Thanks for any help.
Itay.
Steve B. [Labo.Net] - 05 Aug 2003 17:07 GMT
See "object missing = System.Reflection.Missing.Value;"
> Hi all ,
>
[quoted text clipped - 15 lines]
> Thanks for any help.
> Itay.