Original Post
I just implemented drawing text to the screen in my DirectX engine using ID3DXFont, and I'm having weird sporatic JIT errors pop up. Every once and a while, when I close the window, I'll have a JIT Debugging box pop up that says "PID is invalid" with an "OK" box to click. I can only assume that it has to do with the font interface, since commenting out that part of the engine remedies the issue, and I've never seen this error before I tried to implement it. However I can't seem to figure out where the error is coming form. If anyone has had this error pop up and figured out what it was, I'd appreciate any ideas you have. Thanks