You should get rid of MFC and afxwin.h, seriously, to have an ability to use both vc express and gcc on win32.
Everything is working okay without it (you just have to comment it out) except audio sample.
I found TestAudioEngine-win32 using MFC after @yangws finished it. He’s lazy to put the buttons without MFC.
The idea is to merge TestAudioEngine into “tests”, and use CCMenuItem instead. I will push this issue #307