Sign in to follow this  
Followers 0
TiC01

WinntBBU.dll

25 posts in this topic

I wanted to create an installer which uses the original resources from winntbbu.dll, but I can't figure out how to do the animation in the lower right corner. Anyone has a suggestion ??

Got this so far (image preloading and screen resolution still has to be added):

#include <Constants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

;
; Disable uxtheme to get a solid progressbar
;
DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)

;
; Build Gui
;
$hGUI = GUICreate("WinntBBU", 640, 480, -1, -1, BitOR($WS_EX_LAYERED,$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS))
$iStep1 = GUICtrlCreatePic("", 26, 62, 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$iStep2 = GUICtrlCreatePic("", 26, 101, 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$iStep3 = GUICtrlCreatePic("", 26, 140, 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$iStep4 = GUICtrlCreatePic("", 26, 179, 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$iStep5 = GUICtrlCreatePic("", 26, 218, 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$iWinLogo = GUICtrlCreatePic("", 12, 2, 135, 26, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progressbar = GUICtrlCreateProgress(26, 351, 127, 16, BitOR($PBS_SMOOTH,$WS_CLIPSIBLINGS))
GUICtrlSetData(-1, 20)
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
$iBackground = GUICtrlCreatePic("", 0, 0, 640, 480, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState(@SW_SHOW)

;
; Load images from Winntbbu.dll
;
GUICtrlSetImageFromDLL($iStep1, @SystemDir & "\winntbbu.dll", 105)
GUICtrlSetImageFromDLL($iStep2, @SystemDir & "\winntbbu.dll", 105)
GUICtrlSetImageFromDLL($iStep3, @SystemDir & "\winntbbu.dll", 105)
GUICtrlSetImageFromDLL($iStep4, @SystemDir & "\winntbbu.dll", 105)
GUICtrlSetImageFromDLL($iStep5, @SystemDir & "\winntbbu.dll", 105)
GuiCtrlSetImageFromDLL($iWinLogo, @SystemDir & "\winntbbu.dll", 100)
GuiCtrlSetImageFromDLL($iBackground, @SystemDir & "\winntbbu.dll", 103, 640, 480)


;
; Loop for GUI responses
;
While 1
    $nMsg = GUIGetMsg()

    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd
Exit


Func GUICtrlSetImageFromDLL($controlID, $filename, $imageIndex, $x=0, $y=0)
    Local Const $STM_SETIMAGE = 0x0172

    $hLib = _WinAPI_LoadLibrary($filename)
    $hBmp = _WinAPI_LoadImage($hLib, $imageIndex, $IMAGE_BITMAP, $x, $y, $LR_DEFAULTCOLOR)
    GUICtrlSendMsg($controlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hBmp)
    _WinAPI_FreeLibrary($hLib)
    _WinAPI_DeleteObject($hBmp)
EndFunc

Share this post


Link to post
Share on other sites



What animation?


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

What animation?

The one on the lower right corner

post-17280-0-20748600-1296137011_thumb.j

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

There should be resources with and without the glowing border, just replace the dot picture with the glowing one, put it back and change the next, repeat.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

There should be resources with and without the glowing border, just replace the dot picture with the glowing one, put it back and change the next, repeat.

This I understand. I have to load bitmap resources 185, 186, 187 & 188 from winntbbu.dll and have them being replaced by eachother in a loop. BUT how do I keep this loop running without interfering with the rest of the program. I mean while running an install program (or something), will the loop for the "bullets" stop or will the bullets keep looping and will the install program stop. Is there a way to have a loop running independently from the rest of the script ?

Share this post


Link to post
Share on other sites

This I understand. I have to load bitmap resources 185, 186, 187 & 188 from winntbbu.dll and have them being replaced by eachother in a loop. BUT how do I keep this loop running without interfering with the rest of the program. I mean while running an install program (or something), will the loop for the "bullets" stop or will the bullets keep looping and will the install program stop. Is there a way to have a loop running independently from the rest of the script ?

You could try AdlibRegister Function ! Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

This I understand. I have to load bitmap resources 185, 186, 187 & 188 from winntbbu.dll and have them being replaced by eachother in a loop. BUT how do I keep this loop running without interfering with the rest of the program. I mean while running an install program (or something), will the loop for the "bullets" stop or will the bullets keep looping and will the install program stop. Is there a way to have a loop running independently from the rest of the script ?

I tried that, but the "bullet"-anim got high priority. Couldn't even exit the gui with the ESC button anymore.

I was kind of hoping if it was possible to load the resources and create an animation from them (possibly through GDI(Plus)), but I don't can't figure out how.

Share this post


Link to post
Share on other sites

I tried that, but the "bullet"-anim got high priority. Couldn't even exit the gui with the ESC button anymore.

I was kind of hoping if it was possible to load the resources and create an animation from them (possibly through GDI(Plus)), but I don't can't figure out how.

Try like this :

#include <Constants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
$hGUI = GUICreate("WinntBBU", 640, 480, -1, -1, BitOR($WS_EX_LAYERED,$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS))
Global $_J, $_StepOld=1
Global $_Array[6]= [6,62,101,140,179,218]
Global $iStep[UBound ( $_Array )]
For $_I = 1 To UBound ( $_Array ) -1
    $iStep[$_I] = GUICtrlCreatePic("", 26, $_Array[$_I], 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))  
Next    
$iWinLogo = GUICtrlCreatePic("", 12, 2, 135, 26, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progressbar = GUICtrlCreateProgress(26, 351, 127, 16, BitOR($PBS_SMOOTH,$WS_CLIPSIBLINGS))
GUICtrlSetData(-1, 20)
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
$iBackground = GUICtrlCreatePic("", 0, 0, 640, 480, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState(@SW_SHOW)
GuiCtrlSetImageFromDLL($iWinLogo, @SystemDir & "\winntbbu.dll", 100)
GuiCtrlSetImageFromDLL($iBackground, @SystemDir & "\winntbbu.dll", 103, 640, 480)
AdlibRegister ( '_Call', 500 )

While 1
    $nMsg = GUIGetMsg()

    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Exit

Func _Call ( )
    GUICtrlSetImage ( $_StepOld, '' )
    $_J = $_J +1
    GUICtrlSetImageFromDLL ( $iStep[$_J], @SystemDir & "\winntbbu.dll", 105)
    $_StepOld = $iStep[$_J]
    If $_J = 5 Then $_J= 0
EndFunc

Func GUICtrlSetImageFromDLL ( $controlID, $filename, $imageIndex, $x=0, $y=0 )
    Local Const $STM_SETIMAGE = 0x0172
    $hLib = _WinAPI_LoadLibrary ( $filename )
    $hBmp = _WinAPI_LoadImage ( $hLib, $imageIndex, $IMAGE_BITMAP, $x, $y, $LR_DEFAULTCOLOR )
    GUICtrlSendMsg ( $controlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hBmp )
    _WinAPI_FreeLibrary ( $hLib )
    _WinAPI_DeleteObject ( $hBmp )
EndFunc

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Try like this :

#include <Constants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
$hGUI = GUICreate("WinntBBU", 640, 480, -1, -1, BitOR($WS_EX_LAYERED,$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS))
Global $_J, $_StepOld=1
Global $_Array[6]= [6,62,101,140,179,218]
Global $iStep[UBound ( $_Array )]
For $_I = 1 To UBound ( $_Array ) -1
    $iStep[$_I] = GUICtrlCreatePic("", 26, $_Array[$_I], 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))  
Next    
$iWinLogo = GUICtrlCreatePic("", 12, 2, 135, 26, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progressbar = GUICtrlCreateProgress(26, 351, 127, 16, BitOR($PBS_SMOOTH,$WS_CLIPSIBLINGS))
GUICtrlSetData(-1, 20)
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
$iBackground = GUICtrlCreatePic("", 0, 0, 640, 480, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState(@SW_SHOW)
GuiCtrlSetImageFromDLL($iWinLogo, @SystemDir & "\winntbbu.dll", 100)
GuiCtrlSetImageFromDLL($iBackground, @SystemDir & "\winntbbu.dll", 103, 640, 480)
AdlibRegister ( '_Call', 500 )

While 1
    $nMsg = GUIGetMsg()

    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Exit

Func _Call ( )
    GUICtrlSetImage ( $_StepOld, '' )
    $_J = $_J +1
    GUICtrlSetImageFromDLL ( $iStep[$_J], @SystemDir & "\winntbbu.dll", 105)
    $_StepOld = $iStep[$_J]
    If $_J = 5 Then $_J= 0
EndFunc

Func GUICtrlSetImageFromDLL ( $controlID, $filename, $imageIndex, $x=0, $y=0 )
    Local Const $STM_SETIMAGE = 0x0172
    $hLib = _WinAPI_LoadLibrary ( $filename )
    $hBmp = _WinAPI_LoadImage ( $hLib, $imageIndex, $IMAGE_BITMAP, $x, $y, $LR_DEFAULTCOLOR )
    GUICtrlSendMsg ( $controlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hBmp )
    _WinAPI_FreeLibrary ( $hLib )
    _WinAPI_DeleteObject ( $hBmp )
EndFunc

Cool. not the part that I wanted animated, but I sure can use this to get the "anim" going. Thanks for this; am gonna give this a try.

Share this post


Link to post
Share on other sites

Cool. not the part that I wanted animated, but I sure can use this to get the "anim" going. Thanks for this; am gonna give this a try.

What part do you want animate ? Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

What part do you want animate ? Posted Image

From the above thumbnail attached, the anim in the lower right corner (five dots) (part of XP GUI Setup). I want my installer to have completely thesame look as Windows has (even when someone has edited winntbbu.dll)..

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

From the above thumbnail attached, the anim in the lower right corner (five dots) (part of XP GUI Setup). I want my installer to have completely thesame look as Windows has (even when someone has edited winntbbu.dll)..

It must be the same principe, but coordinates are differents and may be image of dll too...

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

And like this ?

#include <Constants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
$hGUI = GUICreate("WinntBBU", 640, 480, -1, -1, BitOR($WS_EX_LAYERED,$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS))
Global $_J, $_StepOld=1, $_AnimOld

Global $_Array1[6]= [6,62,101,140,179,218]
Global $iStep[UBound ( $_Array1 )]
For $_I = 1 To UBound ( $_Array1 ) -1
    $iStep[$_I] = GUICtrlCreatePic("", 26, $_Array1[$_I], 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) 
Next    

Global $_Image[5]= [5,185,186,187,188]
Global $_Array2[5]= [5,510,540,570,600]
Global $_Anim[UBound ( $_Array2 )]
For $_I = 1 To UBound ( $_Array2 ) -1
    $_Anim[$_I] = GUICtrlCreatePic("", $_Array2[$_I], 450, 9, 9, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))  
    ;GUICtrlSetState ( $_Anim[$_I], $GUI_HIDE )
Next    

;$iWinLogo = GUICtrlCreatePic("", 12, 2, 135, 26, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progressbar = GUICtrlCreateProgress(26, 351, 127, 16, BitOR($PBS_SMOOTH,$WS_CLIPSIBLINGS))
GUICtrlSetData(-1, 20)
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
$iBackground = GUICtrlCreatePic("", 0, 0, 640, 480, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState ( @SW_SHOW )
;GuiCtrlSetImageFromDLL($iWinLogo, @SystemDir & "\winntbbu.dll", 100)
GuiCtrlSetImageFromDLL($iBackground, @SystemDir & "\winntbbu.dll", 103, 640, 480)
AdlibRegister ( '_Call2', 500 )

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Exit 

Func _Call2 ( )
    If $_AnimOld Then $_State = GUICtrlSetState ( $_AnimOld, $GUI_HIDE ) ; leaves a white square...
    $_J = $_J +1
    GUICtrlSetState ( $_Anim[$_J], $GUI_SHOW )
    GUICtrlSetImageFromDLL ( $_Anim[$_J], @SystemDir & "\winntbbu.dll", $_Image[$_J] ) ; 185, 186, 187, 188
    $_AnimOld = $_Anim[$_J]
    If $_J = 4 Then $_J= 0
EndFunc

Func GUICtrlSetImageFromDLL ( $controlID, $filename, $imageIndex, $x=0, $y=0 )
    Local Const $STM_SETIMAGE = 0x0172
    $hLib = _WinAPI_LoadLibrary ( $filename )
    $hBmp = _WinAPI_LoadImage ( $hLib, $imageIndex, $IMAGE_BITMAP, $x, $y, $LR_DEFAULTCOLOR )
    GUICtrlSendMsg ( $controlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hBmp )
    _WinAPI_FreeLibrary ( $hLib )
    _WinAPI_DeleteObject ( $hBmp )
EndFunc

I don't have an image logo index 100 in my dll...Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

And like this ?

I don't have an image logo index 100 in my dll...Posted Image

Strange. Your winntbbu.dll must have been edited then. Got XP Pro (Official MS Retail Version) SP3 running here. logo 100 should be the microsoft windows xp logo in the top-left corner for resolution 640x480.

BUT to get back to the anim. Nope, not correct... getting there though. Haven't got time at the moment to give it a go myself, but I will as soon as the kids go to bed tonight :) ..

Each block of the anim should run indexes 185, 186 , 187, 188, 187, 186, 185 and move on to the next block. When all 5 are done, go back to block 1 .. Shouldn't be too difficult now you have given me a real good example on how to start. Many thanks for that.

I did find another thing that goes wrong though.. When I run the gui and maximize another window over it, minimizing it again so the gui is back in front, the background has disappeared ;(

Share this post


Link to post
Share on other sites

I was more thinking along this line.......

#include <Constants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

DllCall("uxtheme.dll", "none", "SetThemeAppProperties", "int", 0)
$hGUI = GUICreate("WinntBBU", 640, 480, -1, -1, BitOR($WS_EX_LAYERED,$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS))
Global $_J=1, $_X=1, $_StepOld=1, $_AnimOld

Global $_Array1[6]= [6,62,101,140,179,218]
Global $iStep[UBound ( $_Array1 )]
For $_I = 1 To UBound ( $_Array1 ) -1
    $iStep[$_I] = GUICtrlCreatePic("", 26, $_Array1[$_I], 18, 18, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) 
Next    

Global $_Image[8]= [8,185,186,187,188,187,186,185]
Global $_Array2[5]= [5,510,540,570,600]
Global $_Anim[UBound ( $_Array2 )]
For $_I = 1 To UBound ( $_Array2 ) -1
    $_Anim[$_I] = GUICtrlCreatePic("", $_Array2[$_I], 450, 9, 9, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))  
    ;GUICtrlSetState ( $_Anim[$_I], $GUI_HIDE )
Next    

;$iWinLogo = GUICtrlCreatePic("", 12, 2, 135, 26, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progressbar = GUICtrlCreateProgress(26, 351, 127, 16, BitOR($PBS_SMOOTH,$WS_CLIPSIBLINGS))
GUICtrlSetData(-1, 20)
GUICtrlSetColor(-1, 0x008000)
GUICtrlSetBkColor(-1, 0xFFFFFF)
$iBackground = GUICtrlCreatePic("", 0, 0, 640, 480, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState ( @SW_SHOW )
;GuiCtrlSetImageFromDLL($iWinLogo, @SystemDir & "\winntbbu.dll", 100)
GuiCtrlSetImageFromDLL($iBackground, @SystemDir & "\winntbbu.dll", 103, 640, 480)
AdlibRegister ( '_Call2', 150 )

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

Exit 

Func _Call2 ( )
;    If $_AnimOld Then $_State = GUICtrlSetState ( $_AnimOld, $GUI_HIDE ) ; leaves a white square...
;    GUICtrlSetState ( $_Anim[$_J], $GUI_SHOW )
    GUICtrlSetImageFromDLL ( $_Anim[$_X], @SystemDir & "\winntbbu.dll", $_Image[$_J] ) ; 185, 186, 187, 188
    $_J = $_J +1
;    $_AnimOld = $_Anim[$_J]
    If $_J = 7 Then
        $_J= 1
        $_X = $_X + 1
        If $_X = 5 Then $_X=1
    EndIf
        
EndFunc

Func GUICtrlSetImageFromDLL ( $controlID, $filename, $imageIndex, $x=0, $y=0 )
    Local Const $STM_SETIMAGE = 0x0172
    $hLib = _WinAPI_LoadLibrary ( $filename )
    $hBmp = _WinAPI_LoadImage ( $hLib, $imageIndex, $IMAGE_BITMAP, $x, $y, $LR_DEFAULTCOLOR )
    GUICtrlSendMsg ( $controlID, $STM_SETIMAGE, $IMAGE_BITMAP, $hBmp )
    _WinAPI_FreeLibrary ( $hLib )
    _WinAPI_DeleteObject ( $hBmp )
EndFunc

Share this post


Link to post
Share on other sites

#16 ·  Posted (edited)

I was more thinking along this line.......

Nice !

It seems there is a problem with the Gui, background becomes white ! Posted Image

Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#17 ·  Posted (edited)

Nice !

It seems there is a problem with the Gui, background becomes white ! Posted Image

I noticed it, and fixed it.. disabled the following line in the GUICtrlSetImageFromDLL function >> _WinAPI_DeleteObject ( $hBmp )

Noticed something from your screenshot too. You ain't working with a regular XP are you... Nice bullet-colors

Edited by TiC01

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

I noticed it, and fixed it.. disabled the following line in the GUICtrlSetImageFromDLL function >> _WinAPI_DeleteObject ( $hBmp )

Noticed something from your screenshot too. You ain't working with a regular XP are you... Nice bullet-colors

Hey ! very observant !

I replaced my 7 64-bit by the XP Sp3 Mad Dog 8.1 Posted Image

Edit : your correction gives me a new bug ; after some times window becomes white and take the screen size ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#19 ·  Posted (edited)

have a loop running independently from the rest of the script

I would just make a seperate executable (that only draws) and run/kill it as needed.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

@wakillon: True. I kept it running for at least an hour. Program stopped responding. Must be a HUGE memoryleak. Doesn't really surprise me though, I keep loading images from winntbbu, but they are never released. I think I must find a way to preload all the images at program start and reuse them over and over. Don't know yet how to do this though.

@iamtheky: I can't really put a picture in my mind of what you mean. Could you explain a little further ?

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  
Followers 0