object - C++ new gdiplus::bitmap in DLL return null -


I was using the GDI object in DLL, DLL had returned to the new GDILLS :: bitmap, but the new object was successful Happened. The code I used to get started with GdiplusStartup (& gdiplusToken, gdiplusStartupInput, NULL) is: GdiplusStartup (& gdiplusToken, gdiplusStartupInput, NULL); ... gdplus :: bitmap * bmp = new gdplus :: bitmap (bmpiinfo.bimwidth, bmpiio.bhhite, pixelformat 32 bpprgb); Any GDI preliminary work or initialization is miss or other question.

The solution started in the DLLMain entry in the beginning. Now I change the initialization function using the GDI object Have given.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -