![editing a dll file editing a dll file](http://www.heaventools.com/img/pe-explorer-i2.png)
Usually, there are two choices: C calling convention or standard calling conventions, also called Pascal and WINAPI. The last thing that you might need to do before compiling the DLL is to specify the calling convention for the functions that you want to export. See also Microsoft's Exporting from a DLL Using DEF Files In the Linker folder, click the Input property page and modify the Module Definition File property to /DEF. To change this option, select Project» Properties. def file of the same name as the project in the project directory. GetSphereSAandVol you have properly created your DLL project, then the linker automatically looks for a .
![editing a dll file editing a dll file](https://www.bome.com/wp-content/gallery/products_restorator_screenshots/01_overview.png)
Calculate the surface area and volume of a sphere with given radius Int GetSphereSAandVol(double radius, double* sa, double* vol)
![editing a dll file editing a dll file](http://www.restuner.com/img/editdialog3.png)
MSVC creates a DLL project with one source (.