Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Extract interface from closed library ?

33 views
Skip to first unread message

Borneq

unread,
Oct 24, 2008, 2:24:55 PM10/24/08
to
How to get class and function list with params from .dcu, .bpl for Delphi
and .ppu and .a for Lazarus ? Not must decompile (as dcu2pas, which program
can do this?) only list, like documentation to compare library version and
knowing which function is wanted.

Marco van de Voort

unread,
Oct 26, 2008, 6:29:40 AM10/26/08
to
On 2008-10-24, Borneq <bor...@antyspam.hidden.pl> wrote:
> How to get class and function list with params from .dcu, .bpl for Delphi
> and .ppu and .a for Lazarus ?

There is a unit to read FPC .ppu's btw, and a tool to dump it (ppudump). The
sources of these are in the FPC sources, and the ppudump might be even
installed with normal releases.

Jonas Maebe

unread,
Nov 3, 2008, 6:54:57 AM11/3/08
to
In article <gdt3ti$3hp$1...@news.onet.pl>,
"Borneq" <bor...@antyspam.hidden.pl> wrote:

> How to get class and function list with params from .dcu, .bpl for Delphi
> and .ppu and .a for Lazarus ?

For FPC/Lazarus, you could create a tool based on ppudump to do this. You can already
try running ppudump on a unit, but I'm not sure if it will print all
information you want (and definitely not in an easy to use format). The
source of the ppudump utility can be found in compiler/utils


Jonas

0 new messages