Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

E_INVALIDARG????? ARGHHHHHH!!!!

Started by someone2 Jan 13, 2004 at 12:25 AM 0 replies 250+ views
Original Post
someone2
someone2
Please help, Blt returns E_INVALIDARG hRet = Screen::getBackSurface()->Blt(&rc2, g_pSurface,&rcRect,flag,NULL); It is working perfectly for some images, and then does this stupid thing for some ones else.. the rectangles and the flag have no problem whatsoever... so, the problem must be witht the surface. is there a method to read the properties of the surface to know what is wrong? Thank you very much in advance.. *sob* *sob*
hplus0603
hplus0603
Easiest is to install the debug DirectX runtime. This will print various warnings to debug output when something goes wrong. Comes with a control panel to control the amount of debug info, too.
enum Bool { True, False, FileNotFound };

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.