Consider this code in Managed Extensions for C++ (.Net 1.1)
That calls MyFunction with the address of MyInt, because MyFunction wants an int*.
Now, in .Net 2+, MyFunction wants an int^.
So ... how do I call it? If I say
I am told Error C3071: % can only be applied to an instance of a ref class or a value type.
I would have thought that int was a value type.
So again, how do I call MyFunction?