I am writing a C++ library using managed extensions, i am trying to get the reference of one of the System Drawing Bitmap object
the code looks like this:
although the actual code pas the compilation, but the program will stuck at the point shown in the code, can you guys help me out?? thanksSystem:: Drawing::Bitmap __gc*bmp;
System:: Drawing::Bitmap __gc* __gc* ptrBmp; //suppose to be the ref to the bitmap object
...initialize the bitmap object ....
//try to assign the bitmap object bmp to ptrBmp
(*ptrBmp) = bmp //program will stuck here