D
Dominik Gallus
Hey there,
have to hang out another problem for today which i can't figure out.
I'm about to develop an application with a lot of drawing operations by
using System.Drawing Namespace.
I also use Double Buffering techniques.
The problem is as following.
Application works fine most of the time. It includes a contact overview
with a scrolling mechanism all drawn by System.Drawing.
Sometimes the applications freezes and i can't hardly do anything.
About 20-40 seconds later it all works fine again.
Visual Studio Output shows a "The thread 0xa3055b3e has exited with code
0 (0x0)."
So there must be something running in the background (a failing method?
call?) that is blocking the application/drawing/rendering/whatever
Some Information about what is going on inside the app while it freezes:
- There are no external calls besides the use of System.Drawing
Namespace. So maybe it's caused by a System.Drawing-Method?
Also removed any calls to phone-properties etc.
- The Render-Method only renders the Items that are visible on the
screen (about 8-10). So there shouldn't be too much rendering going on.
- For modifying velocity properties there is a timer running at a value
of "10". I also modified it up to "10000" and it didn't change anything.
So i also don't think it is caused by the Timer.
Any suggestions?
Thanks in advance,
Dominik
have to hang out another problem for today which i can't figure out.
I'm about to develop an application with a lot of drawing operations by
using System.Drawing Namespace.
I also use Double Buffering techniques.
The problem is as following.
Application works fine most of the time. It includes a contact overview
with a scrolling mechanism all drawn by System.Drawing.
Sometimes the applications freezes and i can't hardly do anything.
About 20-40 seconds later it all works fine again.
Visual Studio Output shows a "The thread 0xa3055b3e has exited with code
0 (0x0)."
So there must be something running in the background (a failing method?
call?) that is blocking the application/drawing/rendering/whatever
Some Information about what is going on inside the app while it freezes:
- There are no external calls besides the use of System.Drawing
Namespace. So maybe it's caused by a System.Drawing-Method?
Also removed any calls to phone-properties etc.
- The Render-Method only renders the Items that are visible on the
screen (about 8-10). So there shouldn't be too much rendering going on.
- For modifying velocity properties there is a timer running at a value
of "10". I also modified it up to "10000" and it didn't change anything.
So i also don't think it is caused by the Timer.
Any suggestions?
Thanks in advance,
Dominik