sometimes I used more than 20.000 sprites and it worked fine (but slow)...
but if W1246 means war in 1246: Béla IV. king of Hungary won a battle over Friderich II. prince of Austria, who died there. it was the end of the Babenberg dynasty, and Austria was finally taken by the Habsburgs...
I think you check through your code and make sure to set Babenberg = NULL; AFTER you have set Austria = Habsburgs;...
Other than that, itsa a tricky one. E_Fail seems to be a GENERIC failure code. I would be inclined to:: 1: Disable any shaders and try again. (maybe a video-memory issue) 2: Be aware of you particle count. (remember to increase max_particles) 3: Watch for memory allocations. Dont try to allocate too much per frame.
Best of luck!
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
Yes, E_FAIL is indeed the general DirectX error code. It has certainly nothing to do with the number of sprites and particles, but can be some issue with your DirectX or video driver installation. It can also be some damaged model or image file. That's the first things to check.