Trying to create a simple DIB from performing a GlobalAlloc on a size of data, locking the data sing GlobalLock and returning a handle to the data, casted to a BITMAPINFO type.
Using a loop to fill the bit data.
The purpose of this is to create a test for an app that captures images from an ActiveX control. I need a test app that can create a "dummy image" that can be used as a place holder. So I was trying to come up with a simple method that can create an image from scratch
Is that feasisble?
I'd create a DIBSection and copy the data in from there, assuming you're saying you have the data to copy in. If you don't, what is the point of this ?
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)