David,
Here is your modified demo project in order to use the external DLL SimpleGrid.dll
What I have done :
1. Removing SimpleGrid.c from the projetc
2. Adding SimpleGrid.dll and SimpleGrid.lib in the project folder
3. Adding this line in main.c
#pragma comment(lib, "SimpleGrid.lib")
Regards,
Jean-Pierre