D2007在64位Win7出现 delphi 2007 assertion failure thread32.cpp 的解决办法

Delphi2007 原来安装在Win7 下 运行正常, 自从升级到Win10 ,新建工程运行然后关闭报错, 报错信息如下:

---------------------------
bds.exe - bordbk105N.dll
---------------------------
Assertion failure: "(!"SetThreadContext failed")"
in ..\win32src\thread32.cpp at line 412
Continue execution?

---------------------------
Yes   No   
---------------------------

解决方法:

Workaround steps:

Close Delphi

Locate bordbk120N.dll (C:/Program Files (x86)/CodeGear/RAD Studio/6.0/bin)

Make a backup copy

Check step 3

Open bordbk120N.dll in a Hex editor (UltraEdit works fine)

Search for “01 00 48 74 47 80 3D”

Make sure this is found once only

Replace “74” with  “EB”

Save

Restart Delphi. Error should be gone

你可能感兴趣的:(visual,studio)