Page 2 of 2

Re: [Android]TIdHTTP and TThread

PostPosted: Fri Jan 06, 2017 1:24 am
by Lena
You MUST synchronize...
Sync with the main UI thread when loading the Bitmap


Can you show ะก++ example of the combined use TThread::CreateAnonymousThread and synchronize loading the Bitmap for my case?

TBitmap class is not thread-safe


Some people say that it is better to use TBitmapSurface for loading the bitmap thread-safe:
http://docwiki.embarcadero.com/Librarie ... mapSurface
However, there is no example for C++ Builder.