Posts Tagged ‘Delphi’

debug assertion in Delphi 2009 on Windows 7 64-bit

June 9th, 2010 No comments

Using Delphi 2009 on Windows 7 64-bit you can notice about the error dialog during debugging:

Assertion failure: “(!”SetThreadContext failed”)” in ..\win32src\thread32.cpp

The problem is that the executable file is blocked and Delphi 2009 studio must be closed.

The solution is:

Open bordbk120N.dll in any HEX editor and change 1 byte at offset 245181 (0x3BDBD) from 0x74 to 0xEB. This works very well with bordbk120N.dll version