Jump to content
Steve Maughan

Anyone Tried Multi-Threaded Direct2D Using Delphi?

Recommended Posts

Has anyone had any success using Direct2D with multiple threads (i.e. multiple threads attempting to draw to the canvas at the same time)?


It seems possible according to this link:




But I can't find anything Delphi specific information. Any links or sample code appreciated.


Thanks - Steve

Share this post

Link to post

The Delphi code will look just like the C++ code. I don't think you draw on the canvas at the same time though, the examples show that a lock has to be used. 

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now