I use Windows 7 x64 for daily Delphi development task. If I press F9 to run my application in IDE mode, there is a great chance to hit this error:
‘Assertion failure: “(!”SetThreadContext failed”)” in '..\win32src\thread32.cpp at line 412
Continue execution?
If Press No or ESC key will close the whole IDE. Pressing Yes may prompt for the same dialog more.
There is a temporary solution for this problem. Please note that this problem might gone in Windows 7 RTM release.
Delphi 2007
- Using any hex editor to open %ProgramFiles(x86)%\CodeGear\RAD Studio\5.0\bin\bordbk105N.dll
- The file version should be 105.11.1.12533
- Look for hex string in the file
01 00 48 74 47 80 3d change to
01 00 48 EB 47 80 3d
Delphi 2009
- Using any hex editor to open %ProgramFiles(x86)%\CodeGear\RAD Studio\6.0\bin\bordbk120N.dll
- The file version should be 120.903.17.15115
- Look for hex string in the file
01 00 48 74 47 80 3d
change to
01 00 48 EB 47 80 3d
Reference:
2 comments:
A credits link would have been nice ;-)
Thanks a ton for this! this error has been driving me nuts!
Post a Comment