iphone
asked on
How to copy object in Visual C++ 6.0
I'm using Visual C++ 6.0 with GDIPlus and need to copy Image object. Is it possible to copy an object?
If that is not possible, is there any solution to create global object (accessible from all functions in the class) for Image object
e.g:
this code give me error when i put it in outside winmain:
Image myImage(L"picture.bmp");
If that is not possible, is there any solution to create global object (accessible from all functions in the class) for Image object
e.g:
this code give me error when i put it in outside winmain:
Image myImage(L"picture.bmp");
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
delete myImageCopy;
ASKER
may i know how to destroy an object?
thanks