Jump to content
Sign in to follow this  
sgufa

load bmp resource from dll

Recommended Posts

sgufa

is it possible to show an image with GuiCtrlCreatePic loading the image from a dll?

Share this post


Link to post
Share on other sites
Kip

Open the help file > search for: DLL > click: Function DllCall > see how example 3 works (That example opens the shell32.dll file, and shows the images inside it)

Edited by kip

Share this post


Link to post
Share on other sites
sgufa

that example is for pick an icon from the dll. i need to call a dll with bitmap resources and use it in a gui (e.g. with guictrlcreatepic)

....something like the axample in the help regarding "GuiCtrlCreateAvi"....

Edited by sgufa

Share this post


Link to post
Share on other sites
sgufa
:) Larry you are the best!!! It works great! many thanks :D

Share this post


Link to post
Share on other sites
DJ VenGenCe

:) Larry you are the best!!! It works great! many thanks :D

Could we see RASSIST.DLL? I am trying to load a Bitmap from a Test DLL. No Luck.

Share this post


Link to post
Share on other sites
sgufa

Could we see RASSIST.DLL? I am trying to load a Bitmap from a Test DLL. No Luck.

I follow this guide to make my resources-only dll

if you prefer send me your dll. I'll adjust it for you, if possible...

Edited by sgufa

Share this post


Link to post
Share on other sites
1905russell

I follow this guide to make my resources-only dll

if you prefer send me your dll. I'll adjust it for you, if possible...

I tried the below-linked resource.dll and renamed it rassist.dll as suggested above but I also cant get it to work. So instead of everyone sending you their dlls for fixing, why dont you do whatever you did to make it work (using VC++) and post it for us. Thanks.

#244285

Share this post


Link to post
Share on other sites
1905russell

The OK works fabulously. Thanks.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.