Re: very simple debugging question (MSVC) -
04-09-2004
Well, that's an easy problem to solve.
Download CS 1.3, rename it from .dll to .xxx and open it in the MS-DOS debugger. Look at the instruction at address 191620 (0x2EC84 in hex). You can just write down the 5 or 6 bytes at and after that location.
Then copy the CS 1.5 client.dll to "client.xxx" and load it in the MS-DOS debugger. Do a search for those same 5 (or 6) bytes. Do a disassembly at the address(es) displayed and see if they match up with the ones from CS 1.3.
When you find a match, modify the above source code to use the proper offset instead of 191620L.
P.S. If you don't know how to use the MS-DOS debugger, try searching on google.com for "ms-dos debug" or something similar.
botman
|