?
Solved

Find out what functions exist in a dll to use with P/Invoke

Posted on 2012-08-29
2
Medium Priority
?
647 Views
Last Modified: 2012-08-30
Hi all,

I have a third party DLL which is currently being called on a system using rundll.

I would like to know if it is possible for me to execute the dll using P/Invoke in c#, and also, how can I find out what functions are available in the dll?

Thanks
0
Comment
Question by:zattz
2 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 38348536
Try the dumpbin utility, with the /EXPORTS option from a command line:


Description of the DUMPBIN utility
http://support.microsoft.com/kb/177429
0
 

Author Closing Comment

by:zattz
ID: 38349155
thx
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Starting up a Project

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question