I get that mistake.. I use a loop to run through a bunch of images to be drawn..I also use multithreading..
What could cause that problem and how could it be prevented?
I use winforms
Additional information:
it tells me if i use graphics after GetHDv method, call the ReleaseHDC method..
What does it mean?
section of the code:
A thread created like this:
Before I did this:
BackgroundWorker1.RunWorkerAsync();
Now I am testing with this:
Backgroundworker back=new backgroundworker();
back.runworkerAsync();
is that the root of the exception?
According to this page
And