I know that tbitmap, image, and Tsung image are NOT thread-safe. How can I open a thread in the background to open n images and display them in a certain scrollbox?

Source: Internet
Author: User
I know that tbitmap, image, and Tsung image are NOT thread-safe. How can I open a thread in the background to open n images and display them in a certain scrollbox? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiBase/html/delphi_20061215012308149.html
After many tests, there is always an inexplicable error. I think the reason may be that this thread is secure, so many VCL instances are thread-safe, can we create a browser that can open images in the background?

Could you help me? Give me a good idea ..

It is thread-safe.
Image. Canvas. lock;

This does not seem to work either. As long as the image is opened in the background, No matter what method is used, the module name is always a wonderful problem when you go to browse. the faulty image here will always have fewer images. Even though visual controls are non-thread-safe, can you use Delphi to enable the image function in the background?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.