Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making headers from DLL exports

Is there a tool to extract/generate .h headers for DLL exports given only the DLL? Manually typing them is proving a pain in the backside...

like image 615
Billy Back Bedroom Avatar asked Oct 27 '22 03:10

Billy Back Bedroom


1 Answers

That's not possible in case of generic C Dll. C procedure symbols have no type information mangled in.

dumpbin can list the procedure names, but you cannot deduce the return types, the number of parameters, e.t.c.

like image 79
EFraim Avatar answered Nov 17 '22 02:11

EFraim