### Create a Module Definition File Using CPPFILT

This method is strongly recommended when using C++:

1. Run CPPFILT on all your object files together (ensure you redirect the output to a file). For example:
   `CPPFILT /B /P file1.obj file2.obj > cppdll.def
   ` /B specifies that the files are binary, and /P specifies to include all public symbols in the CPPFILT output.
2. Edit the output file and delete entries for functions and variables that you do not want to export from your DLL.
3. Create a module definition file by specifying the remaining entries under the `EXPORTS` heading.

Module Definition Files

Create a Module Definition File

Demangling Compiled C++ Names with CPPFILT