When you install the Compiled Simulation/External Functions option there will be a number of files created. These files include:
mscvxt32.bat - batch files for compiling venext.c with Microsoft C compilers.
venext4.mak, venext6.dsp, venext6.dsw make files for creating external function with Microsoft C/C++ version 4 and Microsoft C/C++ version 6. These files are preferred to using batch files.
venext.c - sample source code for defining external functions. This file contains additional internal documentation.
vensim.h - definitions and function prototypes for use with external functions. This file is also used for compiled simulation.
vensim.lib, vensimdp.lib library files to link with in order to make your dll. The vensimdp.lib file is for use with the double precision version of Vensim.
vensim.c - a file containing stubs for Vensim's exported functions. Use this to create your own vensim.lib file if your linker does not work with the vensim.lib file shipped with Vensim.
venext.dll - the compiled sample external functions ready to be run with Vensim.
venext.def - the definition file used by the linker when creating venext.dll.
extern.mdl - a small model calling the external functions in order to demonstrate their use.