When you call Dispose() as shown below, VC++ compiler generates an error C2039. You can use delete and pass the compiler. My question is: Is “delete memStrmImage” in C++
equivalent to calling “memStrmImage.Dispose()” in VB.NET? If not, how do you call Dispose() in C++?
System::IO::MemoryStream ^memStrmImage = gcnew System::IO::MemoryStream();
View Complete Post