Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个在非托管C++项目中使用的 VB.NET DLL 文件。
当我尝试创建该类的对象时,出现错误:
无法实例化抽象类
为什么我的课程是抽象的?我怎样才能修改它,使它不会是抽象的?
这不是它的工作原理,你必须用 C++ 编写 COM 代码才能使用它。好好看看#import 指令和它创建的智能指针。