Ok, I got the example working with a much simpler console app. So it's working and compiling, but I'm not really sure why I was getting the previously mentioned errors. Anyone have any ideas on that? Any known conflicts with MFC? Thanks.