daywalkereg Posted October 3, 2008 Posted October 3, 2008 (edited) 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 October 3, 2008 by daywalkereg 1 £0\\/3 |-|3® $0 |\\/|µ(|-|
monoceres Posted October 3, 2008 Posted October 3, 2008 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now