高分请教一个调试问题!
我的程序在编译以后出现下面的提示:
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42.lib" conflicts with use of other libs; use
/NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use
/NODEFAULTLIB:library
在单步调试程序时,第一个warning还无所谓,但下面三个warning使得程序凡是遇到与界面控件变量
进行有关赋值或操作的时候,程序都会报错:
unhandled exception in *.exe (MFC42D.DLL):0xc0000005:Access Violation.
请教各位高手该如何解决呀?