General Protection Fault when loading Borland 4.5 Program

0 Likes

Problem:

BoundsChecker for DOS gets a General Protection Fault  or hangs when trying to load a Borland 4.5 program.

Resolution:

The problem is due to the symbol _main and the way

  it is loaded by Borland.  The solution is to patch BoundsChecker

  as follows:

ren bchk.exe bchk.bin

debug bchk.bin

-r

-s cs 1000:0 lffff 75 06 8B 4E

prints out an address in xxxx:yyyy format )

-e xxxx:yyyy EB

-w

-q

ren bchk.bin bchk.exe

Old KB# 12306
Comment List
Anonymous
Related Discussions
Recommended