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
有的版本也可能是bordbk105N.dll 比如我的精簡版本UP3 但是解決同上
原文地址:http://www.cnblogs.com/jxgxy/archive/2012/10/15/2725099.html
來自 <http://www.th7.cn/Program/delphi/201407/252615.shtml>
