I'm busy writing a PC game, which uses DX9. I do program testing in Boot Camp, but sometimes write the code & compile in Parallels and Windows. Occasionaly, I accidentally run the program, which is, of course, no use - and was wondering if its possible for a Windows C program to detect whether its being run in a virtual machine or not.