News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Loading jpg image in to a window

Started by jose, October 11, 2005, 05:42:54 PM

Previous topic - Next topic

jose

Can anybody give me the MASM code for loading jpg image in to a window ?

by jose

Vortex


dougiem

This is a simmilar routine for getting a bmp handle from a RESOURCE or FILE using OleLoadPicture.
Loads .gif, .jpg, .bmp, .ico, .emf, .wmf
hope it helps,
dougiem

[attachment deleted by admin]

Vortex

Hi dougiem,

Thanks for sharing with us your code :U

Vortex

Hi dougiem,

I modified a little your code to display images from memory, here is the GetOleImageFromMem function based on your code.

[attachment deleted by admin]

dougiem

Vortex,
  That works well, with the new fda.exe. Lots of possabilities especially with your res2bin.exe.
Thanks,
dougiem.