G
Guest
I am invoking a mc++ method from C# via an unsafe code block. The reason for
the unsafe code block is that I am receiving a int as a return parameter. I
am invoking the method with a "ref iValue" int parameter.... and in the mc++
code I define "int* iValue" for the same int parameter. As a result I have
to place the invoking code in an unsafe code block.
Is there not a means to update a int parameter between C# and mc++ without
requiring the use of an unsafe code block ?
Thanks
the unsafe code block is that I am receiving a int as a return parameter. I
am invoking the method with a "ref iValue" int parameter.... and in the mc++
code I define "int* iValue" for the same int parameter. As a result I have
to place the invoking code in an unsafe code block.
Is there not a means to update a int parameter between C# and mc++ without
requiring the use of an unsafe code block ?
Thanks