[Android]TIdHTTP and TThread

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Re: [Android]TIdHTTP and TThread

Postby Lena » Fri Jan 06, 2017 1:24 am

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.
BCBJ Master
BCBJ Master
Posts: 398
Joined: Sun Feb 06, 2011 1:28 pm


Return to Technical

Who is online

Users browsing this forum: Bing [Bot] and 4 guests