Code: Select all
---------------------------
Ahk2Exe.ahk
---------------------------
Error: RegClass
Line#
041: FileMenu.Add()
042: FileMenu.Add("E&xit Alt+F4", "GuiClose")
043: HelpMenu.Add("&Help", "Help")
044: HelpMenu.Add()
045: HelpMenu.Add("&About", "About")
046: MenuBar.Add("&File", FileMenu)
047: MenuBar.Add("&Help", HelpMenu)
---> 049: Gui := GuiCreate()
050: ToolTip := TT(Gui.Hwnd)
051: Gui.OnEvent("Close","GuiClose")
052: Gui.OnEvent("DropFiles","GuiDropFiles")
053: Gui.MenuBar := MenuBar
054: Gui.AddLink("x287 y10","©2004-2009 Chris Mallet
©2008-2011 Steve Gray (Lexikos)
©2011-" A_Year " fincs
©2012-" A_Year " HotKeyIt
<a href="http://ahkscript.org">http://ahkscript.org</a>
Note: Compiling does not guarantee source code protection.")
063: Gui.AddText("x11 y97 w570 h2 +0x1007")
064: Gui.SetFont("Bold")
Continue the current thread?
---------------------------
Yes No
---------------------------
Code: Select all
---------------------------
Ahk2Exe.ahk
---------------------------
Error: Could not create Gui.
Line#
041: FileMenu.Add()
042: FileMenu.Add("E&xit Alt+F4", "GuiClose")
043: HelpMenu.Add("&Help", "Help")
044: HelpMenu.Add()
045: HelpMenu.Add("&About", "About")
046: MenuBar.Add("&File", FileMenu)
047: MenuBar.Add("&Help", HelpMenu)
---> 049: Gui := GuiCreate()
050: ToolTip := TT(Gui.Hwnd)
051: Gui.OnEvent("Close","GuiClose")
052: Gui.OnEvent("DropFiles","GuiDropFiles")
053: Gui.MenuBar := MenuBar
054: Gui.AddLink("x287 y10","©2004-2009 Chris Mallet
©2008-2011 Steve Gray (Lexikos)
©2011-" A_Year " fincs
©2012-" A_Year " HotKeyIt
<a href="http://ahkscript.org">http://ahkscript.org</a>
Note: Compiling does not guarantee source code protection.")
063: Gui.AddText("x11 y97 w570 h2 +0x1007")
064: Gui.SetFont("Bold")
Continue the current thread?
---------------------------
Yes No
---------------------------
In a previous attempt, I changed the GUI var from Gui to myGui, and it didn't seem to help.
I also tried a basic script to just create a GUI and show it, but I get the same 2 errors. Seems GUI is temporarily broken in a110? a108 still works in this regard.