关于ActiveX 控件的问题,高手请帮忙!
编译代码的时候全部正确,当出现注册控件的时候发生如下错误,请问一下,这个是什么问题,是什么原因造成的?
谢谢!
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: C:\WINDOWS\system32\regsvr32.exe
File: appcore.cpp
Line: 85
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
终止(A) 重试(R) 忽略(I)
---------------------------
[解决办法]
检查你的InitInstance函数,因为注册的时候一般都会调用。
也可以用regsvr32调试一下。
是否有内存泄漏,这个提示貌似