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を呼び出しましたか?