Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

multi-thread code supported?
Started by mudcamper at 05-13-2008 17:17. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  05-13-2008, 17:17
mudcamper is not online. Last active: 5/13/2008 10:12:00 PM mudcamper

Not Ranked
Joined on 05-13-2008
Posts 1
multi-thread code supported?
Reply Quote

I have a single-process Windows DLL that is creating multiple threads to process 4 images simultaneously. I am trying to call L_SaveBitmapBuffer from these 4 threads simultaneously. Is this supported by the Leadtools API? I have only tried calling it from 2 threads so far, one to do JPG compression and the other to do G4 bitonal compression, both using different source images and different hLeadBitmaps but I get some funny looking mixups that make me wonder if your API can support multi-threaded code... Please advise...

 


   Report 
  05-14-2008, 9:26
Adnan Ismail is not online. Last active: 7/1/2008 9:22:03 AM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,047
Re: multi-thread code supported?
Reply Quote
For JPEG and CCITT Group4 compression, our toolkit is thread safe and you should be able to perform saving to memory buffers in these formats.
If you face a problem, please put your code in a small test project (not your full application) and send it to me in a ZIP or RAR file.

If you do not want to put your project here, you can send it to support@leadtools.com and mention this post.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » General » multi-thread code supported?

Powered by Community Server, by Telligent Systems