Assertion error Failure: "(!"Setthreadcontext failed")" in .. win32src thread32.cpp at line 434

Asked

Viewed 1,943 times

1

I am compiling my C++ project in Codegear 2009 from Embarcadero, and when I start debugging my program this message appears:

bds.exe - bordbk120N.dll
Assertion Failure: "(!"Setthreadcontext failed")" in .. win32src thread32.cpp at line 434
Continue Xecution?

Imagery:

inserir a descrição da imagem aqui

Could someone help me understand why this mistake and how to solve it?

1 answer

3


I managed to solve the problem by searching a little more on the internet found that the . dll bordbk120N.dll has a bug when it runs on the Win7 x64 platform for this version 2009 and earlier. To correct this problem, a section of the bordbk120N.dll. Below are the steps to fix this bug:

Take care! No guarantees! I am not responsible for lost files, etc.! Make backup copy before proceeding!

Steps to resolution:

1 - Close Delphi or C++ Builder

2 - Locate bordbk120N.dll library (C: Program Files (x86) Codegear RAD Studio 6.0 bin)

3 - Make a backup copy

4 - Check that step 3 has been performed correctly

5 - Open the bordbk120N.dll file in a Hexadecimal editor (the Ultraedit works well enough)

6 - Search for the sequence "01 00 48 74 47 80 3D"

7 - Ensure that this sequence appears in the file only once

8 - Change the value "74" by "EB"

9 - Save the file

10 - Restart Delphi or C++ Builder. The error should no longer occur.

This information was extracted (in free translation) from the link below:

http://www.monien.net/delphi-2009-windows-7-64-bit-debugger-crash-workaround/comment-page-3/#comment-7588

  • 1

    I took the liberty of translating the steps into Portuguese (to facilitate possible future readers). :)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.