Debugging only with .exe

Hi:

I have a Delphi 7 program that I wrote many years ago, but I lost the source code. This is a small program, but very useful for me.

I tried to “install” it again on a new computer running Windows XP, simply copying the data folder (paradox files .db) and setting up a BDE connection.

When the program starts, I get an "Unknown exception" and it stops. I have no idea why this is happening, and cannot debug the cause of the lost source code. I tried on another computer with the same results.

Any suggestions or ideas? What are you doing in this situation?

Thanks in advance.

EDIT: When I installed Delphi 7 on a new XP computer, the exception occurred from unknown to known. This was due to the folder for the Paradox.net file. Thnk you all.

+3
source share
5 answers

Delphi IDE (Run → Attach to process), , , Windows. , . WinDbg Microsoft. ( IDA Pro), , . , , p- . - , .

+7

, Visual Studio, OllyDbg, , Delphi IDE -exe-.

, win32api.

, FileMon RegMon, .

+6

Delphi IDE "Run | Connect to process...". zed_0xff , .

+2

, ldsandon, , () , exe. , IDA Pro , Delphi, IDR ( Delphi Reconstructor), DeDe PE Explorer.

+2

, BDE, , .
, Pascal.
BDE, .

+1

Source: https://habr.com/ru/post/1750640/


All Articles