How to find the function name of a DLL?

Asked

Viewed 853 times

4

I’ve used the DLL Export, Dependency Walker, dumpbin, PE Explorer and the result for several Dlls I need to use is always the same with two functions: CLRRP and GETRP.... parameter-less.

inserir a descrição da imagem aqui

I know the library was developed in Delphi, because renaming the DLL extension to EXE appears the Delphi icon:

inserir a descrição da imagem aqui

  • If you were unable to "see" the methods with the DLL Export.. it was probably not marked as Exported in the compilation.. do you intend to make a "hook" of the methods? Or call the methods of another application?

  • I think you don’t have a specific problem there, in general you already know and that would be: https://answall.com/q/113284/101

  • bigown, as I said above, I had already done everything that this link indicated, but the result was the same.... two functions and no results for use.

1 answer

4

The correct is for you to import the DLL as a component to Delphi, and not to reverse engineer the DLL (personal ethics issue).

Menu: Component -> Import Component...

So Delphi had created a unit with the funções and procedures which they have in the library!

Since you already tested by switching the DLL extension to EXE and got the Delphi IDE icon then I don’t believe the Library is Activex, then when importing the component choose the option: Import a Type Library.

If the DLL does not appear on the List of Libraries available at the time of import you must register this DLL in order for Delphi to recognize it:

regsvr32 "caminho_da_dll"
  • Grateful Junior, the problem is that the company that made these libraries dropped the system on a company and refuses to give information, so I have to find out and no matter the method. I use Delphi 7 and it has several libraries that the icon is from Delphi 7..... you could explain how you do it in this version?

  • When I met Delphi was already in XE2 version, but the component import method should be the same, changing only Menus name (I programmed in Delphi 5 and do not know the Delphi 7).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.