Search code examples
delphientry-pointbpl

tool to show bpl entry points?


Trying to see why we're getting "entry point not found" when I know it should be in there. Aside from the map, is there a tool that'll "explore" a .bpl or .dll and show the entry points?


Solution

  • Delphi comes with a command-line program called tdump that will print, among other things, the lists of imported and exported symbols for a binary. A BPL file is just a DLL with specially formatted function names.

    The documentation says Tdump will unmangle names with the -um option, but I think that might only apply to C++ name mangling, not the changes Delphi makes to identifiers. Try it and see. Even if the names remain mangled, it's not too hard to recognize the names you're looking for.