1. resource kit, check this out!

Hi all,

I am creating a new interface to David Cuny's resource binder for 
compatibility with win32lib for almost unlimited
resources. David Cuny only added rReadBmp() which made many people think 
that his resource kit was for 
only BMP files. So i have decided to extend his resource kit for win32 
applications and most importantly
win32lib applications.

1) I have added BMP read from resources using an enhanced 
loadBmpFromFile2(). it is about 50% faster than
D.Cunys.This was already done by Wolf, but wolf didn't do much about 
memory management. i use trackObject()
to tag resources freeing memory.
2)I have added loading of AVI files from resources.
3)I have added loading of WAV files from resources.

all the above routines load resources directly from resources to memory. 
this makes them lightning fast. The main reason
 i wrote this email was about addition of the ICON interface. At the 
moment, the only method working is,
i'm loading the icons from the resources straight to temporary files 
from which the icons are loaded to memory
using extractIcon, the technique is fast, atleast faster than Andrea 
Cinis it takes 3.04 seconds to load 
39 icons (total 106 kB) on a 486 machine. This might sound reasonably 
fast but i know it is still terribly slow.
     i read something in the win32hlp saying you could use 
CreateIconIndirect,GetIconInfo and ICONINFO structure
to load from icon data in memory. i have tried it and it fails.
----Long Intro
Please tell me how to create icons from data in memory? 
Thanx Jordah Ferguson
jorfergie03 at yahoo.com

--Processed and saved using: Cirrus Mail ver 0.2a

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu