Thanks and I wish I could take credit for all the info! This actually comes from the GameStudio Help file (see C++/SDK Programming -> Enging Programming) What I did was modify the code part just a little bit to get it to work as a Windows app. Now does anyone know if you can make this method work as a console app?