How to dump Static Library (.lib) and Header file from a DLL?

Jan 26, 2011 at 4:12am
Hi Friends..

i'm curious, is it possible to dump Static Library (.lib) and Header file from a DLL?
Actually, i want to use Existing DLL (for Cryptographic operation, such as for AES, DES, MD5) to be integrated with my Main DLL (which developed by C Programming Language)..
Is it possible?
If you don't mind, please help me how to do that..

Any help would be appreciated..

Thanks,

Leo
Last edited on Jan 26, 2011 at 4:13am
Jan 26, 2011 at 4:04pm
This tutorial shows how too generate .lib file http://www.coderetard.com/2009/01/21/generate-a-lib-from-a-dll-with-visual-studio/
I think you'll have to create the header file yourself. Or maybe use run-time dynamic linking instead? ( http://msdn.microsoft.com/en-us/library/ms685090(v=vs.85).aspx )
Feb 10, 2011 at 4:39am
Hi Null..

From the 1st link that you gave, i can dump .lib (static library) successfully..
But i really confused regarding "how to create the header file by myself", since the DLL is actually belongs to my ex-colleague..
Even, I don't know what's the list of parameters that need to be passed to each methods exported..
So, how to solve this problem?..

Sorry maybe my question sounds silly..

Please help me regarding this.

Any help would be appreciated..

Thanks,

Leo
Feb 10, 2011 at 8:27am
There is no way to generate a header file from an arbitrary DLL.
Topic archived. No new replies allowed.