Jump to content

Get Image from dll ?


MrVietA2
 Share

Recommended Posts

Oh, i found it

#include "GUIConstantsEx.au3"
#include "StaticConstants.au3"
#include "resources.au3"
$gui = GUICreate("example ",400,400) $pic1 = GUICtrlCreatePic("",0,0,400,150) ; set image to picture control from external DLL resource _ResourceSetImageToCtrl($pic1, "#17", $RT_BITMAP, @ScriptDir & "\ResDll.dll")
GUISetState(@SW_SHOW) While 1  If GUIGetMsg() = -3 Then Exit Wend

Thanks every one ! :graduated:

Edited by MrVietA2
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...