We have a suite of programs currently with Visual Studio 2005 Beta 2, Today I uninstalled Beta 2 and upgraded to the Release Canidate:
Using this example code:
public ref class PlaybackCtrl : public System::Windows::Forms::UserControl
{
protected:
virtual void Dispose(Boolean disposing) override
{
if (disposing && components)
{
components->Dispose();
}
__super::Dispose(disposing);
}
}
I end up with errors like: error C2605: 'Dispose' : this method is reserved within a managed class
Not quite sure I understand cause it is a managed class....
Also trying to call Dispose on Managed DX objects gives me a similar error:
error C2039: 'Dispose' : is not a member of 'Microsoft::DirectX::Direct3D::VertexBuffer'
But I see dispose in Intellisense, so not sure what the deal is...
Thanks for any info!

What changed with Dispose in 2005 RC?
Naman
C++/CLI went through a major overhaul of the Dispose Pattern between Beta-2 and the recent RC release. The good news is that now you just have to implement a destructor and/or a finalizer and the compiler will do the work of creating a Dispose(bool) method and wiring everything together.
Here's a couple of links to articles that discuss this change:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/VS05Cplus.asp
http://blogs.msdn.com/arich/archive/2005/06/09/427389.aspx