Glyph Posted December 11, 2006 Posted December 11, 2006 #include <XSkin.au3> ; folder of skin $Skin_Folder = @ScriptDir & "\Skins\Black-Yellow" $XSkinGui = XSkinGUICreate( "My GUI", 400, 450, $Skin_Folder) $button_1 = XSkinButton("Button 1", 145, 100, 100, 35, "Hello") GUISetState() While 1 MouseOver() Sleep(10) WEnd Func Hello() MsgBox(64, "XSkin", "Test Button 1", 3) EndFunc Error is this: C:\Documents and Settings\Login\Desktop\Calender v0.2\XSkin.au3 (8) : ==> #include depth exceeded. Make sure there are no recursive includes.: #include <XSkin.au3> Any ideas? tolle indicium
Glyph Posted December 11, 2006 Author Posted December 11, 2006 I am using the latest beta, maybe that has soemthing to do with it?, i'll let ya know when i figure out the problem, val. tolle indicium
Helge Posted December 11, 2006 Posted December 11, 2006 Could you attach the XSkin.au3 that you're using ?
Glyph Posted December 11, 2006 Author Posted December 11, 2006 Found it. I uncommented some code in the xskin itself so it was calling itself! now it is not! tolle indicium
Valuater Posted December 11, 2006 Posted December 11, 2006 Could you attach the XSkin.au3 that you're using ?thanks Heldge... i had no idea, i have never heard of that error before8)
Helge Posted December 11, 2006 Posted December 11, 2006 (edited) I thought so. I noticed the commented #include, so I thought that maybe you'd modified it, making the file include itself. This is what #include-once is for, Valuater And btw, I'm not Hedge or Heldge. I prefer Helge Edited December 11, 2006 by Helge
Valuater Posted December 11, 2006 Posted December 11, 2006 thanks... and i know you are Helge.. i just typed it quickly with the "d" and didn't look ( i typed like most english words have ) sorry 8)
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