Delphi2007 在Win10 下运行报错 Assertion failure


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>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM