Direct2D declares?

Since using GDI isnt an option any more has anyone got any samples of using declares to take advantage of Direct2d ?

I believe that declares are not used for Direct2D. Direct 2D uses interfaces with COM.

Writing manual COM in Xojo for Direct2D is difficult and time-consuming compared to Declares. It might be easier to see if someone has an ActiveX for Direct2D.


Trying to do some drawing but trying to get the HDC from a graphics always returns 0 (as in there is no such handle any more) so my only option is declares into D2D which looks like it will be a huge pain in the rear