Delphi2007 原來安裝在Win7 下 運行正常, 自從升級到Win10 ,新建工程運行而後關閉報錯, 報錯信息以下:html
---------------------------
bds.exe - bordbk105N.dll
---------------------------
Assertion failure: "(!"SetThreadContext failed")"
in ..\win32src\thread32.cpp at line 412
Continue execution?
---------------------------
Yes No
---------------------------
解決方法:this
Workaround steps:spa
Close Delphihtm
Locate bordbk120N.dll (C:/Program Files (x86)/CodeGear/RAD Studio/6.0/bin)blog
Make a backup copyget
Check step 3it
Open bordbk120N.dll in a Hex editor (UltraEdit works fine)io
Search for 「01 00 48 74 47 80 3D」thread
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