Sign in to follow this  
Followers 0
sgufa

load bmp resource from dll

11 posts in this topic

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



#2 ·  Posted (edited)

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

#3 ·  Posted (edited)

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

many thanks Larry!

Share this post


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

Share this post


Link to post
Share on other sites

:) 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

#9 ·  Posted (edited)

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

#10 ·  Posted

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

#11 ·  Posted

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  
Followers 0