How to export the specified feature you want in a DLL
Open the DLL file with
DLL to C, check the option "
Disassemble the code section", and select the Disassemble Mode "
Disassemble with Complete Structure Mode". Then click the button "
Start Convert".
When the conversion is complete, DLL to C will generate a dfa file. Open the dfa file with DFA.exe. DFA will build the Function Relationship Tree of the DLL.
By default, DFA will check all the functions of the DLL. If you don't want to export all the functions, but only want to export the specified function you need, then you can uncheck all the functions which you do not need. Click the menu "
Edit", then click "
Uncheck All Functions".
Then check the function you need. In this sample, if you only want the DLL export function DayOfWeek, then just check the function Date_DayOfWeek. DFA will check all its dependent functions automatically.
And then just click the button "
BUILD CODE", then you will get the code you want.
You can find this sample in the directory "
FullVersion\CompleteStructureMode\ExportSpecifiedFunctions\TestDate" of
DLL to C.