A
Adriano Coser
Hello.
I'm facing a problem analog to the one described here:
http://groups.google.com/groups?hl=...04280815.2d93f31b%40posting.google.com&rnum=5
I have an unmanaged class that receives a gcroot<> to a control in its
constructor. When I invoke this constructor from a managed class
passing directly the control* the program crashes when I try to access
the parameter into the refered constructor.
I had the same problem for others classes passed by value from managed
to unmanaged classes.
Does anyone know if this problem is already solved or if there's a
workaround other then change the parameters by value to const&?
Thanks in advance for any help.
Regards,
Adriano.
I'm facing a problem analog to the one described here:
http://groups.google.com/groups?hl=...04280815.2d93f31b%40posting.google.com&rnum=5
I have an unmanaged class that receives a gcroot<> to a control in its
constructor. When I invoke this constructor from a managed class
passing directly the control* the program crashes when I try to access
the parameter into the refered constructor.
I had the same problem for others classes passed by value from managed
to unmanaged classes.
Does anyone know if this problem is already solved or if there's a
workaround other then change the parameters by value to const&?
Thanks in advance for any help.
Regards,
Adriano.