0
The exception occurs in drawinternal, this is not a method of directdraw, but an internal directdraw method. I just don't see a way to show the graphics on the MDI child. Catching the exception just does not fix the problem: We can not adress the drawinternal function directly.
By the way: when use a normal form the application runs fine.. the problem really lies in the combination MDI with directdraw..
0
You will have to handle the exception. There's no workaround for lost surfaces or loss of the drawing device that occurs when another window activates.