Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
Your posts make me think we are not understanding each other. I don't see any output of any kind, anywhere. I'm not asking about formatting details (yet). I'm not seeing any communication from the dll at all. The VS2010 output window has never shown me anything like that. It only prints anything while I'm compiling a dll.Oh, in that case just use the OutputDebugString() macro (or check the output window to see what DLLs are being loaded). EA_DEBUG is if you want to have integer values from various variables in your output, like saying for instance "This unit now has 3 Strength". It uses sprintf internally (so C-style output formatting), and then adds on stuff like the newline and which class the message is for.
Hmmm... I haven't looked in that folder for a long time. Last mdmp files are from >2 weeks ago. I had two CTDs, one last night and one the night before. These were overnight runs that stopped sometime after turn 200 (from the Lua.logs). Well, it's possible a gremlin is turning my games off in the middle of the night.Also, if you are getting random(ish) CTDs you can find the CvMinidump file in the base Civilization 5 folder. If you place that dump in the same folder as the PDB for the DLL you can then open the dump in Visual Studio and view the state of the program when it crashed.
Edit: OK, saw your last post. Let me know when you find something.