ผู้เขียน หัวข้อ: Windows 7 64bit Delphi Debugger Fix / Workaround  (อ่าน 6549 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

doramon

  • บุคคลทั่วไป
Windows 7 64bit Delphi Debugger Fix / Workaround
« เมื่อ: กุมภาพันธ์ 22, 2011, 22:52:12 PM »
0
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

ออฟไลน์ SrWooD

  • Hero Member
  • *****
  • กระทู้: 1,024
  • Respect: +1
    • ดูรายละเอียด
Re: Windows 7 64bit Delphi Debugger Fix / Workaround
« ตอบกลับ #1 เมื่อ: กุมภาพันธ์ 23, 2011, 08:04:46 AM »
0
 ;D ;D ;D
โรงพยาบาลโพธิ์ทอง จังหวัดอ่างทอง

ออฟไลน์ ANPANMAN

  • Sr. Member
  • ****
  • กระทู้: 288
  • มนุษย์เงินเดือน
  • Respect: 0
    • ดูรายละเอียด
    • โรงพยาบาลหนองหญ้าปล้อง
Re: Windows 7 64bit Delphi Debugger Fix / Workaround
« ตอบกลับ #2 เมื่อ: กุมภาพันธ์ 23, 2011, 08:44:45 AM »
0
แก้ง่ายดีนะครับ..
ว่าแต่ software ที่ออกมาจาก win7 64bit จะเป็น 64bit ด้วยไหมครับนี่
SShttp://nongyaplong.pbro.moph.go.th
เริ่มระบบ BMS20091109
ปัจจุบัน CentOS 5.4x64, MySQL5.1.41, HOSxP 3.54.3.17, HP ProLaint ML150G6, Ram 4 GB, S-ATA 320x2