Hello first, I'm on Win10
After initializing Direct2D, when I call ID2D1HwndRenderTarget_GetPixelSize with a HwndRenderTarget, i get a seg fault. But when I use the C++ API, no problem. there is the same behavior with GetPixelFormat() on the contrary, CreateBitmap(), DrawBitmap(), BeginDraw(), EndDraw() or SetTransform() are working with the C API. Does someone have an idea of the problem. I have a test program if you want thank you Vincent Torri _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public