CreateCompatibleBitmap Failure
Posted: Wed Sep 20, 2006 1:17 pm
During the process of coding/debugging my program, I sometimes fubar up my code enough that I seem to cause problems for DPLOT. When this happens I get a messagebox from DPLOTJR saying "In CopyBitmap, CreateCompatibleBitmap failed with width=973, height=733".
Now I don't know exactly how I cause this to happen, it seems to happen sometimes when I exit my program abruptly and then start it back up. Anyway that is all my problem. Unfortunately though, once this error message pops up, the only was I can get DPLOTJR to work again is to restart my machine. I've tried killing the DPLOTJR.EXE process, and restarting VB6. But it doesn't help.
Basically I am hoping to get some insight into why DPLOTJR reports this error, so that I may be able to track down what is happening on my side. Also if there is a command, or a method, I could use to reset DPLOTJR to work again, that would be nice to know about.
Any help would be appreciated,
xander
Now I don't know exactly how I cause this to happen, it seems to happen sometimes when I exit my program abruptly and then start it back up. Anyway that is all my problem. Unfortunately though, once this error message pops up, the only was I can get DPLOTJR to work again is to restart my machine. I've tried killing the DPLOTJR.EXE process, and restarting VB6. But it doesn't help.
Basically I am hoping to get some insight into why DPLOTJR reports this error, so that I may be able to track down what is happening on my side. Also if there is a command, or a method, I could use to reset DPLOTJR to work again, that would be nice to know about.
Any help would be appreciated,
xander