BSHARK Posted September 28, 2010 Share Posted September 28, 2010 i make an animated gif splash screen the problem is how to add or compile the gif files into the exe ? or how i loaded from external dll ? here's the code #AutoIt3Wrapper_Au3Check_Parameters=-w 1 -w 2 -w 3 -w 4 -w 5 -w 6 #NoTrayIcon ;.......script written by trancexx (trancexx at yahoo dot com) #include <WindowsConstants.au3> #include "GIFAnimation.au3" [code]Global $sFile = @scriptDir & "\splash1.gif" Global $aGIFDimension = _GIF_GetDimension($sFile) Global $hGui = GUICreate("GIF Animation", $aGIFDimension[0], $aGIFDimension[1], -1, -1, $WS_POPUP, $WS_EX_TOPMOST) Global $pGIF Global $hGIF = _GUICtrlCreateGIF($sFile, "", 10, 10, $pGIF) GUIRegisterMsg(15, "_Refresh"); WM_PAINT GUICtrlSetPos($hGIF, 0, 0) GUISetState() $PID = Run("Setup.exe /S") ProcessWaitClose($PID) Global $sFile = @scriptDir & "\Splash2.gif" Global $aGIFDimension = _GIF_GetDimension($sFile) Global $hGui = GUICreate("GIF Animation", $aGIFDimension[0], $aGIFDimension[1], -1, -1, $WS_POPUP, $WS_EX_TOPMOST) Global $pGIF Global $hGIF = _GUICtrlCreateGIF($sFile, "", 10, 10, $pGIF) GUIRegisterMsg(15, "_Refresh"); WM_PAINT GUICtrlSetPos($hGIF, 0, 0) GUISetState() Sleep (2000) Link to comment Share on other sites More sharing options...
JohnOne Posted September 28, 2010 Share Posted September 28, 2010 You can look at the fileinstall() function is one option, and the easiest. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
BSHARK Posted September 28, 2010 Author Share Posted September 28, 2010 thank you for your reply can you explain it more please ? is it fore loading dll or for compiling ? Link to comment Share on other sites More sharing options...
JohnOne Posted September 28, 2010 Share Posted September 28, 2010 It is for adding files into your exe as you compile it, then installes them to the target machine, to the directory you choose, and the script has permission for. Nothing to do with dll. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
BSHARK Posted September 28, 2010 Author Share Posted September 28, 2010 (edited) god bless you finally its work like i want ... you make my dreams come true i spent 2 weeks to search over the internet ..and waste a lot of hours to solve it thank you so much .. i really appreciate your help .. if you need any help just tell me good luck Edited September 28, 2010 by BSHARK Link to comment Share on other sites More sharing options...
JohnOne Posted September 28, 2010 Share Posted September 28, 2010 Thanks, I'll take you up on that someday. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
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