Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用以下代码获取位图点,
(宽度 = 800,高度 = 600);
Bitmap* m_BitmapCanvasCore = new Bitmap(width, height, PixelFormat32bppARGB);
但 m_BitmapCanvasCore 始终为 NULL ... gdi+ 有什么问题吗?或者我需要避免的任何命名空间污染?为什么?
你在创建位图之前调用了GdiplusStartup吗?