Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LeaZ

loadimage from resource

This topic is 6110 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi may i ask if there is a way to laod image from resource i browse tru e msdn docs and onli understand how to loadimage from file.. also how do i get the pixel value of a texture ? thanks

Share this post


Link to post
Share on other sites
Advertisement
Ops..used e wrong term..instead of resource what i wanted was memory..i loaded the file into a char pointer and wonder if there is a window function to load a bitmap from that ..thanks

Share this post


Link to post
Share on other sites
theres a function called createdibitmap i m not sure if it is the corect function it requires a hdc as the argument how would i get a hdc ? jus declare one ? HDC hdc ?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!