madexceptpatch output "quirk"

delphi package - automated exception handling
Post Reply
benoitk
Posts: 1
Joined: Wed Nov 03, 2004 9:29 am

madexceptpatch output "quirk"

Post by benoitk »

Just a little annoying quirk :)

madexceptpatch (and maybe others command line tools) does not like output redirections; consider:

Code: Select all

c:\program files\madcollection\madexcept\tools\madexceptpatch.exe > patch_help.txt
the command output will be truncated to the first 1280 characters, and thus stop at
7 = please
The same goes when madexceptpatch is run to patch a binary from a script (bat file, python script,...) , output is truncated
No *.mes file found for this project.
Default settings loaded from registry.
Unit initialization order patched.
Settings stor
After very little investigation in madexceptpatcher.pas, the problem may lie in the windows api used.

Thanks
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I'm using normal Delphi functions for outputting to the console, namely WriteLn. If that doesn't work correctly, then it must be Delphi bug or a win32 bug. I don't think there's much I can do here... :?
Post Reply