I am just perplexed as to who would still write MFC code? I mean as if it has not been obsolete for the last 10 years I don't know. If you want clean pure portable C code for your project that will compile on all the most popular operating systems such as OS X, Linux, UNIX, etc., let me know.