I've made a few changes to this project.
It will deal with a commandline arg, makes it easier for testing and development.
The types are now stored in an array so more types can be added easily as required.
char * sTypes[] = {"void",
"char",
"LPSTR",
"LPCSTR",
"signed",
"unsigned",
"short",
"WORD",
"int",
"INT",
"long",
"LONG",
"DWORD",
"float",
"double",
"struct",
"union",
"enum"}; // 18
#define NUMTYPES 18
John