Link to home
Start Free TrialLog in
Avatar of jvitale
jvitale

asked on

Device Independent Bitmaps

Basically I need someone to show me exactly how to create a Device Independent Bitmap from absolutely nothing. I need to use a DIB for a memory bitmap for rendering opengl images to.

I need to create a memory DC and a memory DIBitmap and select the DIB into the DC. I've gotten close with the CreateDIBSection but I can't figure out the appropriate way to fill in the BITMAP Headers and INFO structure.

If anyone can help, please let me know and supply the code.

Thanks
Avatar of jvitale
jvitale

ASKER

BTW I'm using VC++5.0 Win32 API, MFC is also fine. OS = WinNT
ASKER CERTIFIED SOLUTION
Avatar of AlexVirochovsky
AlexVirochovsky

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial