How to debug with Visual C++ 6 on Windows 7 x64?

点点圈 提交于 2019-11-30 14:49:19

My previous fix was horrible.

Finally, I developped a new fix, working perfectly with the english version of Visual Studio 6. (SP6 I think)

You need to check the version of the file DM.dll located into "Common/MSDev98/Bin"

The correct version is 6.0.9782.0.

link: http://www.dr-hoiby.com/TLLOC.dll (28KB)

how to install: replace "Common/MSDev98/Bin/TLLOC.dll" by the version downloaded.

Best regards.

Comment reposted:

You can try using Visual Studio 2008 with VC6 compiler. I recently blogged about this.

I developped a little fix for that. You just have to copy the file "ShiftF5Fix.dll" into "Common/MSDev98/AddIns/" et load it from Visual.

It's an hugly fix. If you modify your source file during debugging you have you answer "NO" to the poup displayed after you press "SHIFT+F5" to stop the process.

link : http://www.dr-hoiby.com/ShiftF5Fix.dll

Best regards

Another option would be to install daffodil. This is an open source project to compile all versions of visual studio in VS2010. Once this is configured you can use visual studio 2010 debugger to debug VC6 projects.

tamlin

On the heels of Dr Holby, I implemented a leaner variant, with source code: http://www.algonet.se/~tamlin/TLLOC_fixer.zip

The code currently only understands sp4 (?) and SP6, but I think it'll cover most cases.

You only need to compile the source (1.cpp, 1.rc), rename your existing TLLOC.DLL (which btw stands for Transport Layer Local - as opposed to remote debugging) to TLLOC.old.dll, and drop in the one you compiled (~4KB). Should work like a charm for all 32-bit debugging needs, from Windows 95 to Windows 7 (and later).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!