$Gui = GUICreate("test ", 1005, 611) ;$ExcelLV = ObjCreate("OWC11.spreadsheet") ; Use this for Office 2003 $ExcelLV = ObjCreate("OWC.spreadsheet") ; Use this for Office 2000 $GUI_ActiveX = GUICtrlCreateObj($ExcelLV,110, 60, 827, 488) GUIDelete() $ExcelLV=0 ; <-- causes hard crash. When omitting this line, AutoIt crashes on exit.
The ExcelLV object seems to have itself deleted from memory after the GUIDelete(), then AutoIt crashes when it wants to delete this already deleted object.
This is the result of me, re-fixing a temporary fix of an old bug in v3.1.1.84 (18-nov-2005).
I will try to fix the fix of the temporary fix of this bug...otherwise I'll stick with the temporary fix.
-Sven
EDIT 2005-01-20: Simplified the example code.
This post has been edited by SvenP: 20 January 2006 - 09:41 PM

Sign In
Register
Help
This topic is locked
MultiQuote
