Download SkinSharp for VC++ and copy SkinH_VC\Lib\SkinHu.lib to SkinH_VC\Bin\ and create a new PB file:
Code: Select all
Import "SkinHu.lib"
SkinH_Attach()
SkinH_AttachEx(strSkin.s, strPwd.s)
SkinH_Detach()
EndImport
SkinH_Attach() ;;; load skinh.she
;SkinH_AttachEx("Aero.she", "")
;SkinH_AttachEx("QQ2008.she", "")
OpenWindow(0, 0, 0, 800, 500, "title", #PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_SizeGadget|#PB_Window_ScreenCentered|#PB_Window_Invisible)
ButtonGadget(0, 10, 10, 100, 30, "button")
HideWindow(0, #False)
Repeat
event = WaitWindowEvent()
Select event
Case #PB_Event_Gadget
Select EventGadget()
Case 0
MessageRequester("", "")
EndSelect
EndSelect
Until event = #PB_Event_CloseWindow
SkinH_Detach()
But you need to ship the dll too! Don't know where your static lib version is from... Maybe I can help you if you share the original link.