弱问:DLL调用出错
在调用DLL文件时总是弹出窗口报错,一连弹出6,7个对话框,内容为:
Debug Assertion Faild!
Program:f:\...\TrialDll.exe
File:wincore.cpp
Line:884(或883)
For information on how your program can cause all assertion
failure, see the Visual C++ documentation on asserts.
换成release版有时错误会消失. 本人初学MFC,请大侠们赐教.
PS:做DLL时我是直接将EXE文件的类导入到DLL工程,
菜单等资源也是从RC文件里直接拷贝过来的
不知是否有影响.