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.
July 21, 2009 -
Posted by
dmagin |
Embarcadero (CodeGear) stuff |
|
10 Comments
Thank you vary much for sharing the knowledge. This thing drives me crazy. I forgot how bad things are without debugger.
That’s the way of delphi community
Think Delphi!
I couldn’t find the Hex signature “01 00 48 74 47 80 3D” in bordbk105.dll for Delphi 2007.
However, this signature exist in bordbk105N.dll.
Which one should I change?
sorry it is in bordbk105N.dll
(Repeat of the comment on Olaf Monien’s blog)
Note that patching binaries might result in future Delphi 2009 updates leaving the patched binaries alone (i.e.: not updating them).
Andreas Hausladen has a very cool set of IDE hotfixes that dynamically patch the IDE, so maybe he can talk him to include this in a future release?
–jeroen
it’s say that there will be no IE on their release in europe
you can have in europe both edition with/without IE. But the error also comes with IE installed. But the error is not present anymore in waever. I hope Embarcadero will send us a offical patch for “older” versions.
regards
daniel
10x man u a the great
it works great.. i have codegear c++ 2009 + win7 64, this fix works, thanks a lot!!!
Solved my problem – thanks!