ReaImDown Posted August 26, 2008 Posted August 26, 2008 is it at all possible to use a picture stored inside the .exe without 1stly extracting it someone? Non working example...: $a = fileinstall("C:\Randy\Desktop\Example.bmp") #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> Opt("GUIOnEventMode", 1) #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 633, 447, 193, 125) $Pic1 = GUICtrlCreatePic($a, 144, 152, 100, 100, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 Sleep(100) WEnd [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
ReaImDown Posted August 27, 2008 Author Posted August 27, 2008 I have searched the form for the past hour but to no avail... has anyone ever successfully done this before? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
qazwsx Posted August 27, 2008 Posted August 27, 2008 if you could find where the bytes of the picture were stored in the .exe, you probably could.
ReaImDown Posted August 27, 2008 Author Posted August 27, 2008 if you could find where the bytes of the picture were stored in the .exe, you probably could.any idea's anyone? also, would the place in which the picture is stored change depending on what I wrote and how much I wrote in the script? thusly meaning I wont know until I compiled it? I am confused haha... anyone? [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
qazwsx Posted August 27, 2008 Posted August 27, 2008 possibly. The easiest thing would probably be to search for the header of the picture file. But im not totally sure how autoit stores the picture. For that, you would most likely have to ask a developer.
ReaImDown Posted August 27, 2008 Author Posted August 27, 2008 possibly. The easiest thing would probably be to search for the header of the picture file. But im not totally sure how autoit stores the picture. For that, you would most likely have to ask a developer.thanks...good idea...Any idea's Dev's? haha [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
AdmiralAlkex Posted August 27, 2008 Posted August 27, 2008 If I understand what you wants you should use Zednas Resources.au3 .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
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