Threads and classes CFbsBitmap, CFbsBitmapDevice and CFsBitGc

Login to reply to this topic.
Sat, 2007-12-01 12:50
Joined: 2007-08-23
Forum posts: 16

Puzzled
so the functions of the classes not working in other threads(only can be used in main thread), so how to create a Image in the threads?


Sun, 2007-12-02 16:07
Joined: 2007-08-23
Forum posts: 16
Re: Threads and classes CFbsBitmap, CFbsBitmapDevice and CFsBitG

whats classes need to use for escape this problem?

Sun, 2007-12-02 17:16
Joined: 2004-11-29
Forum posts: 1233
Re: Threads and classes CFbsBitmap, CFbsBitmapDevice and CFsBitG

You must call RFbsSession::Connect() in the new thread to use CFbsBitmaps.
After that you can create new bitmaps in the thread, or call Duplicate() on the handle of a bitmap from another thread.

  • Login to reply to this topic.