After more testing and poking around with the Chip 8 emulator I have found that it freezes in the function:
CODE
HRESULT Sample::Initialize()
at the code segment:
CODE
ATG::SimpleShaders::Initialize( NULL, NULL );
So far that is as far as I have managed to get tonight, tomorrow if I have some spare time I might be able to find out more. Might help anyone else out to know that the function for ATG::SimpleShaders::Initialize(); is in AtgSimpleShaders.cpp at line 89 if anyone wants to research it a bit more.
Thinking about it, it's likely caused by the fact I was running VS2008 with newer SDK and updated samples. At a guess most people are running VS2005 with publicly leaked SDK? I do know that code 100% compiles and runs even if it is a mess.
You should be able to remove the dependency on the ATG framework quite easily though. It's used for getting input and for drawing the display rectangle. There will be better ways to do that then to use the ATG framework.