PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Can't create surface in Thread on Symbian platform.

I want to load image in another thread. So, I send the loading function to RThread function. This function is work normally, but when I use this function in thread, the application close. I try to find why, and found the problem when call CGapiSurface::CreateSurface(...) function.
Does this function can be used in other thread? If not, what should I do if I want loading process work parallel with the main application?
There should be nothing that makes CreateSurface not work with multiple threads. What version of GapiDraw are you using?
The lastest version. 3.5 RC1. If I use normal CreateSurface, that's ok. The problem occur when I use CreateSurface from image file.
What's the return value when you call CreateSurface?