Windows 7 64bit Delphi Debugger Fix / Workaround
I found a thread about how to fix (ok not official) the Debugger if you run Delphi 2007 or Delphi 2009 on Windows 7 with 64bit. This is from a german Delphi Forum the DelphiPraxis.net one of the best forums in the world.
So i tanslated in english:
IT IS YOUR RISK TO DO THIS!!!
1) bordbk***.dll ( bordbk105N.dll – Delphi 2007; bordbk120N.dll – Delphi 2009)
open with HexEditor (make a copy first!!)
2) Search HEX 01 00 48 74 47 80 3D
3) there is only one(!) HEX 01 00 48 74 47 80 3D !!!
4) change 74 to EB
5) save
that’s all. now the debugger runs on Windows 7 64bit.
This small hack, change a conditional Jump (JZ also 0×74) in a unconditional jump (JMP or oxEB) so the GetLastError will not be called and the Debugger is not haging in a lock situation.
there is also a thread in english much more details on this TechNet Forum from Microsoft.
and thanks to olaf monien for infos
reagards
daniel magin
Think Delphi!
Update
on the blog site from my friend Olaf Monien you can find now a automatic patch tool. it makes the changes for you with one click.
http://dmagin.wordpress.com/2009/07/21/windows-7-64bit-delphi-debugger-fix-workaround/http://chee-yang.blogspot.com/2009/07/using-delphi-20072009-ide-in-windows-7.html