Sign in to follow this  
Followers 0
=sinister=

Skinning with SKF file?

5 posts in this topic




ask smoke thats how :)

Share this post


Link to post
Share on other sites

Ok, I downloaded the mac skin and did the dll calls

Do
    SplashImageOn("", "./Images/Logo.jpg", -1, -1, -1, -1, 1)
    
    If FileExists("./Images/Logo.jpg") Then
    Else
    MsgBox(16, "Error", "Missing File:" & @LF & "/Images/Logo.jpg")
;Exit
    EndIf

    If FileExists("./Dll/Skin.dll") Then
    Else
    MsgBox(16, "Error", "Missing File:" & @LF & "/Dll/Skin.dll")
;Exit
    EndIf
    
Until SplashOff()

    #Include <GUIConstants.au3>
    #Include <./Variables.au3>
    #Include <./Functions.au3>
    $Dll = DllOpen("./Dll/Skin.dll")
DllCall($dll, "int", "InitLicenKeys", "int", BSTR("0"), "int", BSTR("SKINCRAFTER"), "int", BSTR("SKINCRAFTER.COM"), "int", BSTR("support@skincrafter.com"),"int", BSTR("DEMOSKINCRAFTERLICENCE"))
DllCall($Dll, "int", "DefineLanguage", "int", 0)
DllCall($Dll, "int", "InitDecoration", "int", 1)
DllCall($Dll, "int", "LoadSkinFromFile", "int", ("./Skins/Mac-style.sfk"))
DllCall($Dll, "int", "ApplySkin")

$GUI = GUICreate("WoW!Bot", 250, 250, -1, -1)
GUISetState(@SW_Show)
DllCall($Dll, "int", "UpdateControl", "int", 0)

While 1
    $Msg = GUIGetMsg()
Select
    Case $Msg = $GUI_Event_Close
    Quit()
EndSelect
WEnd

But the only window that pops up is mine with default skin and the Skin Builder one. (Note: I have the right functions in my Functions.au3 file) Any ideas?

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