给你说简单方法把C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86下的msvsmon拷贝到目标机即可,关闭防火墙、运行msvsmon时选择Tools ->Options 然后选择No Authentication 和 Allow any user to debug 。调式机project -> properties-> debuging中, Remote Command 填目标机中可执行程序的绝对路径 Working Directory 填目标机中可执行程序所在目录 Remote Server name 填目标机的名字,可以直接填IP地址 connection 选择 Remote with no authentication (Native only)在调试机的目录 C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86\Microsoft.VC80.DebugMFC 里面有三个文件夹 Micorosft.VC80.DebugOpenMP,Microsoft.VC80.DebugCRT,Microsoft.VC80.DebugMFC 将里面的所有文件复制到目标机的执行程序的当前目录
Microsoft Visual Studio Remote Debugging Monitor
Remote Command 填目标机中可执行程序的绝对路径
Working Directory 填目标机中可执行程序所在目录
Remote Server name 填目标机的名字,可以直接填IP地址
connection 选择 Remote with no authentication (Native only)在调试机的目录 C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86\Microsoft.VC80.DebugMFC
里面有三个文件夹 Micorosft.VC80.DebugOpenMP,Microsoft.VC80.DebugCRT,Microsoft.VC80.DebugMFC
将里面的所有文件复制到目标机的执行程序的当前目录