Jump to content

how i load from external dll ?


BSHARK
 Share

Recommended Posts

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

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

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
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...