On 8/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Can someone please tell me what to do about "loadbitmap"? > > Ex: ThePicHandle:=LoadBitmap(TheLibHandle,'Bitmap_1');
An easy solution is to put the bitmaps in separate files, and load from there instead. If you really want to keep the files inside the executable under windows, and put it as a separate file on other operating systems, you can study how I did this on the magnifier: http://magnifier.cvs.sourceforge.net/magnifier/magnifierv3/glass.pas?revision=1.30&view=markup Just look for the LoadLibrary function there There is a theoretical possibility of putting the resource into the executable on linux using a cross-compiled windres. But I don't know how well this works. And I also don't know if this works on other Unixes or on Mac OS X. -- Felipe Monteiro de Carvalho _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
