Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Load and copy PNG resource into a DirectDraw7 Surface

3 views
Skip to first unread message

Paul

unread,
May 20, 2001, 10:33:54 PM5/20/01
to
How would I load and copy a PNG resource into a DirectDraw7 Surface?

The goal is to load PNG's "as resources contained in .EXE" and copy them
into DirectDraw7 Surfaces.

I use DDLoadBitmap from DDUTIL.CPP, provided by Microsoft DX7a SDK, to load
and copy BITMAP resources into DirectDraw7 surfaces. Is there a similar
method for loading PNG resources?

Thanks!


Tony Cox [MS]

unread,
May 21, 2001, 8:26:25 PM5/21/01
to

Not for DX7. For DX8, the D3DX utility library will load a whole variety of
image formats, including PNG.

Tony Cox - Lead Engineer
Windows Gaming Developer Relations Group

Paul

unread,
May 22, 2001, 6:03:03 PM5/22/01
to
Thanks for the info.

"Tony Cox [MS]" <dir...@microsoft.com> wrote in message
news:u$iBbXl4AHA.1956@tkmsftngp03...

0 new messages