I have 32 bit MS-DOS app, run with dos4g.exe. I have package of dos4g and found d32.exe debugger in it. I run debugger with my app using bat file:
d32.exe myapp.exe
But after start d32.exe it stops not on main() of myapp.exe. d32.exe stops on code of dow4g.exe. How find main() in myapp.exe using d32.exe? I tried use this way: I open myapp.exe with IDA, and using info from IDA tried to find main() in myapp.exe in d32.exe. But as I understood, when d32.exe run with myapp.exe, myapp.exe dont exists in memory, not loaded yet by dos4g.exe. How find main() in myapp.exe when d32.exe starts?