Sign in to follow this  
Followers 0
BreadthFirst

Finding what functions a DLL file provides

5 posts in this topic

Hey all, what would be a good way to find what functions a dll file provides??

thanks!

Share this post


Link to post
Share on other sites



The easiest way is to get a tool that has this capabilities like DllExp or eXeScope. If you want to get it programmatically you need to have a good handle of the PE file format. One good suggestion found over searching is this example or read this article. This thing was already done a few times, search the example forum for monoceres's for example.

Share this post


Link to post
Share on other sites

To be exact, here >_<

...Or you could use the far more professional and useful Resource Viewer & Compiler by trancexx.


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Thanks for your help, everyone!

I really like your dll tutorial, monoceres. I have a few other n00b dll questions:

-If I have a dll file that also has a corresponding .lib file, do I need to include the .lib file or something? Or am I being retarded by assuming that .dll files and .lib files are related??

-What am I doing wrong if I get the following error while using a dllcall:

The instruction at "0x7c91ab01" referenced memory at "0x00000010". The memory could not be "written".

thanks!

Share this post


Link to post
Share on other sites

-If I have a dll file that also has a corresponding .lib file, do I need to include the .lib file or something? Or am I being retarded by assuming that .dll files and .lib files are related??

The files contain the same thing, however you only need the dll when working with autoit. The lib file is for people working with a compiled language that wish to statically link the code in the dll/lib into their project.

-What am I doing wrong if I get the following error while using a dllcall:

The instruction at "0x7c91ab01" referenced memory at "0x00000010". The memory could not be "written".

Could be pretty much anything, bad pointer, missaligned stack. Impossible just to guess.


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0