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
Post a Comment