Topics about games made for Microsoft Windows products. These include Windows 7, Vista, XP.

learn more… | top users | synonyms

5
votes
2answers
709 views

How do I prevent getting an access denied loading a file in XNA, when I have the application running in the program files directory (in Windows 7)?

I'm creating an app in XNA. I'm trying to load a custom save file. I named the file with my own custom extension. It's an XML file serialized with the DataContractSerializer. I've tried several ...
2
votes
2answers
1k views

How to tell if a glut window has focus from c#

How can I tell if a glut window has focus? Im using c#/tao, Ill use p/invokes if necessary. Basically I want to ignore input if it doesn't have focus.
3
votes
2answers
365 views

MSG::time is later than timeGetTime

After noticing some timing descrepencies with events in my code, I boiled the problem all the way down to my Windows Message Loop. Basically, unless I'm doing something strange, I'm experiencing this ...
8
votes
3answers
1k views

Display a Message Box over a Full Screen DirectX application

In our custom assertion handler, I'd like to display a message box asking to see whether or not this failure can be ignored. However, when our DirectX game is full screen, I can't get the MessageBox ...