您的位置:首页 > 编程语言 > C语言/C++

[Tip]dispose resource in C++/CLI using a C# class

2010-09-30 15:31 393 查看
调用Dispose方法
As known, for C#, it will call IDispose::dispose() of a class to release resources, while for C++/CLi, it needs call "delete obj" to the same work. A fact is that: no matter a dotNet class is written in which language on dotNet platform (here, either c# or C++/CLI), it can release its resource in that calling language's native way@!

May require more reading here...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: