Here is an example an excel spreadsheet
used to call a DLL. It uses the DLL built using this
.cpp file and this DEF file. (To build the DLL you
must name the project 'bye', or edit the DEF file to show whatever name
you pick). One of the functionalities of this DLL is that it stores a memory
address as a static variable.