PDA

View Full Version : How to get the code selected by the user in the di


OllyView
October 2nd, 2004, 10:54
Hello

I have made a program (Delphi), which allows one to convert an ASM snippet from OllyDbg to HTML. (with colors)

I would like to create a plugin from this tool and i have a problem. (Im a newbie) :
How can i get the code selected by the user in the disasm window ? (Like Ctrl-C) . Do you have any example code i could study ? Thanks for your help.

TQN
October 3rd, 2004, 03:14
Download the ExtraCopy plugin and read the source code.
Good luck !
TQN

OllyView
October 3rd, 2004, 05:40
thanks !!

But it seems to be very complicated ...
And I must translate C++ to Delphi ...

TQN
October 3rd, 2004, 21:00
No, I don't think so. Translating C++ source to Delphi is not a complicate job. You can use my PDK for Delphi. Almost functions and structures are same.
TQN