eJan Posted March 16, 2005 Posted March 16, 2005 I'd like to use several *.bmp's included in DLL (to use just one file install option) and set them into GUI as GUICtrlCreatePic or something like.Another thing i'm interested is it possible to extract data from same DLL (created with Resource Builder) and install into chosen location.As I'm not familiar with DLL's any suggestion is appreciated.dll_bmp.rar
CyberSlug Posted March 17, 2005 Posted March 17, 2005 I don't know about DLLs, but here's an alternative that involves two file installs:- the free unzip.exe utility- a zip archive of your filesAttachment contains sample AutoIt script, a zip of your images, and unzip.exeExample.zip Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
therks Posted March 17, 2005 Posted March 17, 2005 Is there some (free?) program out there that will let me compile bmp's, ico's, etc. into a dll file of some sort so that I could just FileInstall that to use with my GUI? I did a quick Google for "Resource Builder" but it's shareware and $99US to buy. The zip idea is okay, but I don't like leaving files all over the place, making sure I have to clean them up after, etc. If I could just place one .dll and then delete that when I'm done, I think it would be really cool. My AutoIt Stuff | My Github
Helge Posted March 17, 2005 Posted March 17, 2005 Is there some (free?) program out there that will let me compile bmp's, ico's, etc. into a dll file of some sort so that I could just FileInstall that to use with my GUI? I did a quick Google for "Resource Builder" but it's shareware and $99US to buy. The zip idea is okay, but I don't like leaving files all over the place, making sure I have to clean them up after, etc. If I could just place one .dll and then delete that when I'm done, I think it would be really cool.<{POST_SNAPBACK}>Well, it's possible to use a ICL-file for storing ICOs and I guess you can have some big ICOsin a ICL for use as a picture. Maybe not with big pictures though, but anyway..
eJan Posted March 17, 2005 Author Posted March 17, 2005 (edited) Is there some (free?) program out there that will let me compile bmp's, ico's, etc. into a dll file of some sort so that I could just FileInstall that to use with my GUI? I did a quick Google for "Resource Builder" but it's shareware and $99US to buy. The zip idea is okay, but I don't like leaving files all over the place, making sure I have to clean them up after, etc. If I could just place one .dll and then delete that when I'm done, I think it would be really cool.Saunders, thats the point i'd like to do, downloaded RB from Protools site 1 year ago, but what sense - i don't understood how to call resources from compiled .dll's. Edited March 17, 2005 by eJan
therks Posted March 17, 2005 Posted March 17, 2005 Yeah I'm using an .icl with one of my programs right now. But you can put avi's and bmp's and all kinds of stuff in dll's it seems. Currently I'm just using a random tiny .dll I grabbed from my system32 directory. I just add resources to it using Resource Hacker. *Edit: Actually nevermind. I just realized that I can't use bmp's embedded in a dll. I thought I could reference them the same way I do ico's. My AutoIt Stuff | My Github
eJan Posted March 19, 2005 Author Posted March 19, 2005 *Edit: Actually nevermind. I just realized that I can't use bmp's embedded in a dll. I thought I could reference them the same way I do ico's.GUICtrlCreateIcon.rar Yes, but I try to set icon dimensions 100×100 there's no way to do as described in help file:GUICtrlCreateIcon ( filename, iconID, left, top [, width [, height [, style [, exStyle]]]] ).Mabe solution will be available in the future releases of AI.
therks Posted March 19, 2005 Posted March 19, 2005 Yeah I've never had luck setting non-standard sized icons with the gui icon function. My AutoIt Stuff | My Github
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now