I am trying to write an MFC application, but am unable to get the .c and .h files to compile in my project.

Normally, MFC applications requires that '#include "stdafx.h"' be added to source files. Our APIs are not MFC C++ libraries, and thus should not be modified in this way.

For specific information about how to fix this problem, please consult Writing an MFC application using the Aardvark API