Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# - examining unmanaged DLLs

Status
Not open for further replies.

jonscheiding

Programmer
Jan 13, 2004
2
US
I have been searching for a way to examine an unmanaged DLL and determine what functions it exports. More specifically, I'm trying to write code that will determine whether a DLL is a valid GINA. The way I had intended to do this was to get a list of the functions it exports and determine whether that list contains the ones a GINA must export. However, I haven't been able to find a way to accomplish this. Does anyone know of a way that I can load an unmanaged DLL, specified at run time, and retrieve the list of functions that it exports?

Thanks.
 
You can use DumpBin /EXOPRT your.dll to get a list of exported functions.
-obislavu-
 
That's true, I can - however I need to be able to accomplish the same effect as that but with my own code. Any idea how to do that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top