Click here to Skip to main content
15,896,557 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionHow Can I play the music on my game Pin
Squallkin8423-May-06 4:08
Squallkin8423-May-06 4:08 
QuestionProto type mismatch Pin
satsumatable22-May-06 23:57
satsumatable22-May-06 23:57 
QuestionReading memory Pin
satsumatable22-May-06 17:32
satsumatable22-May-06 17:32 
QuestionCreating new managedObject[100] in C++ Pin
StevenS_Dev22-May-06 12:35
StevenS_Dev22-May-06 12:35 
AnswerRe: Creating new managedObject[100] in C++ Pin
George L. Jackson23-May-06 2:01
George L. Jackson23-May-06 2:01 
GeneralRe: Creating new managedObject[100] in C++ Pin
StevenS_Dev23-May-06 7:38
StevenS_Dev23-May-06 7:38 
QuestionOverriding void Dispose(bool disposing) in C++/CLI? Pin
Filip Strugar20-May-06 14:37
Filip Strugar20-May-06 14:37 
AnswerRe: Overriding void Dispose(bool disposing) in C++/CLI? [modified] Pin
George L. Jackson20-May-06 15:44
George L. Jackson20-May-06 15:44 
In C++/CLI, the dispose pattern is:

ref class Base
{
public:
Base(void)
{
}

~Base(void)
{
// Release managed resources
this->!Base();
}
protected:
!Base(void)
{
// Release unmanaged resources
}
};

So, the methods Dispose() and Dispose(bool disposing) aren't available at compile-time. Also, I believe you cannot override a virtual dtor!

-- modified at 21:45 Saturday 20th May, 2006
AnswerRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Dave Doknjas20-May-06 19:25
Dave Doknjas20-May-06 19:25 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Filip Strugar22-May-06 22:34
Filip Strugar22-May-06 22:34 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
George L. Jackson23-May-06 1:57
George L. Jackson23-May-06 1:57 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Dave Doknjas23-May-06 12:31
Dave Doknjas23-May-06 12:31 
QuestionMixing native and managed code Pin
Saurabh.Garg19-May-06 18:44
Saurabh.Garg19-May-06 18:44 
AnswerRe: Mixing native and managed code Pin
georgeraafat23-May-06 12:50
georgeraafat23-May-06 12:50 
QuestionSerialization Issue with Int32 Pin
jmlstele19-May-06 9:51
jmlstele19-May-06 9:51 
AnswerRe: Serialization Issue with Int32 Pin
georgeraafat23-May-06 13:17
georgeraafat23-May-06 13:17 
GeneralRe: Serialization Issue with Int32 Pin
jmlstele29-May-06 1:22
jmlstele29-May-06 1:22 
QuestionUndocumented problem with for each Pin
jmlsteele19-May-06 9:14
jmlsteele19-May-06 9:14 
GeneralRe: Undocumented problem with for each Pin
jmlstele19-May-06 9:18
jmlstele19-May-06 9:18 
AnswerRe: Undocumented problem with for each Pin
Nish Nishant19-May-06 10:10
sitebuilderNish Nishant19-May-06 10:10 
QuestionIs it possible to write a parser which will find.... Pin
SasikumarRenjith19-May-06 1:23
SasikumarRenjith19-May-06 1:23 
AnswerRe: Is it possible to write a parser which will find.... Pin
Cedric Moonen19-May-06 3:54
Cedric Moonen19-May-06 3:54 
QuestionHow do I Convert Struct to ByteArray in .net 2005 Pin
ShayD118-May-06 6:32
ShayD118-May-06 6:32 
AnswerRe: How do I Convert Struct to ByteArray in .net 2005 Pin
2bee 18-May-06 11:37
2bee 18-May-06 11:37 
Questionporting managed c++ from vs2003 to vs2005 Pin
Hohenloher16-May-06 21:50
Hohenloher16-May-06 21:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.