Can anybody give me the MASM code for loading jpg image in to a window ?
by jose
Hi jose,
Welcome to the forum.
Here, you can find an example :
http://www.masmforum.com/simple/index.php?topic=937.0
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]
Hi dougiem,
Thanks for sharing with us your code :U
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]
Vortex,
That works well, with the new fda.exe. Lots of possabilities especially with your res2bin.exe.
Thanks,
dougiem.