Jump to content
Sign in to follow this  
BSHARK

how i load from external dll ?

Recommended Posts

BSHARK

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)

Share this post


Link to post
Share on other sites
BSHARK

thank you for your reply

can you explain it more please ?

is it fore loading dll or for compiling ?

Share this post


Link to post
Share on other sites
BSHARK

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 by BSHARK

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  

×