一个使用了windows sdk的工程,最近不能在VC下运行(其它工程都可以正常运行)。工程可以打开,可以编译,编译得到的exe可以直接执行,但是不能在VC中运行,出一个对话框,说“Could not execute: Invalid directory(Win32 error 267)”。我都重装VC两遍了,还是不行,要吐血了,难道非要重装windows不成?!
调试欢乐多
你运行的程序是你编译出来的吗?
如果是的话,应该不会找不到目录啊?
working directory (and the directory and name of the exe file). Perhaps
one of them is set to something that is not valid?
用 approach() 的方法试试。