Prev: Need to extract information (Parse) from Win32 dll's
Next: Need to keep a more robust DNS cache in my Windows client
From: glitteringsounds on 20 Jan 2010 03:40 Hello, Can any body give me the idea how to extract information from win 32 dll's. e.g class name all methods which dll exports. name of methods, parameter types(in,out) & return type of that method. all variables (private,public,protected). all data structures listed we can do the same job from tlb file which's generated from idl which stores all COM exposed interfaces,co-classes,records,enums and etc.. MS provided TypeLib for this purpose. but from DLl perspective can we do the same job as we can do from tlb using ITypeLib of MS. Regards Muhammad Usman Khalil
From: Christian ASTOR on 20 Jan 2010 08:42
On 20 jan, 09:40, glitteringsounds <muhammadusman.kha...(a)gmail.com> wrote: > Hello, > > Can any body give me the idea how to extract information from win 32 > dll's. > e.g > class name > all methods which dll exports. > name of methods, parameter types(in,out) & return type of that method. > all variables (private,public,protected). > all data structures listed You can get the list of exported functions and classes with ImageDirectoryEntryToData() (+ UnDecorateSymbolName() to undecorate them, like what Depends does...) |