Jump to content

SkinCrafter.dll


Recommended Posts

Can anyone please help me with this code it shows the gui but nothing happen :)

SkinCrafter.dll version : 2.6.3.0

GUICreate("Some window")
GUISetState()

$Dll = DllOpen("SkinCrafter.dll")
DllCall($dll, "int:cdecl", "InitLicenKeys", "wstr","SKINCRAFTER","wstr","SKINCRAFTER.COM", "wstr", "support@skincrafter.com","wstr","DEMOSKINCRAFTERLICENCE")
DllCall($Dll, "int:cdecl", "InitDecoration", "int", 1)
DllCall($Dll, "int:cdecl", "LoadSkinFromFile", "wstr", "Blue.skf")
DllCall($Dll, "int:cdecl", "ApplySkin")


While 1
   Sleep(100)
WEnd
Edited by daywalkereg

1 £0\\/3 |-|3® $0 |\\/|µ(|-|

Link to comment
Share on other sites

Hey that's a really nice library!

Here's how you should do it, SkinCrafter cannot magically guess what windows you wanna skin.

$hwnd=GUICreate("Some window")
GUISetState()

$Dll = DllOpen("C:\Program Files\SkinCrafter3\SkinCrafterDemo\SkinCrafterDLL\SkinCrafterDll.dll")

DllCall($dll, "int:cdecl", "InitLicenKeys", "wstr","SKINCRAFTER","wstr","SKINCRAFTER.COM", "wstr", "support@skincrafter.com","wstr","DEMOSKINCRAFTERLICENCE")
DllCall($Dll, "int:cdecl", "InitDecoration", "int", 1)
DllCall($Dll, "int:cdecl", "LoadSkinFromFile", "wstr", "C:\\Program Files\\SkinCrafter3\\SkinCrafterDemo\\Skins\\Mac-style.skf")

DllCall($Dll, "int:cdecl", "ApplySkin")
DllCall($Dll, "int:cdecl", "DecorateAs","long",$hwnd,"long",1)


While 1
   If GuiGetMsg()=-3 Then Exit
WEnd

And of course replace the paths with the correct ones :)

Broken link? PM me and I'll send you the file!

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