编译和直接运行都没问题,debug的时候会报错
release模式下,报错:
Cannot launch the remote executable
Error: File not found
Win32 error code : 2
debug模式下报错
“${我的工程目录}下mfcce400d.dll file not found ”
在网上搜了一把,结果如下:
“原因是应用程序依赖一些Dll,重新设置应用程序的download目录和debug目录
把需要的Dll 拷贝到相应的目录。
EVC设置download和debug目录的方式:project->setting->Debug->general->Download directory
project->setting->Debug->general->Remote working directory”
按照这种方式,修改了两个目录,从sdk中将mfcce400d.dll拷贝进去,还是一样的报错,有没有朋友遇到相同的问题。