Sign in to follow this  
Followers 0
Imbuter2000

Why does this little _IE script crashes AutoIT?

6 posts in this topic

#1 ·  Posted (edited)

Why does the following code crashes AutoIT? (Windows 7 64bit - IE10)

[/size]
#include <IE.au3>
$oIE = _IECreate("http://www.abc.com")
ObjEvent($oIE,"IEEvent_","DWebBrowserEvents2")
_IENavigate($oIE,"http://www.msn.com",1)
_IEQuit($oIE)
Exit
Edited by Imbuter2000

Share this post


Link to post
Share on other sites

What do you mean by "crash"? Do you get any error messages?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

What do you mean by "crash"? Do you get any error messages?

Sometimes I get a generic AutoIT crash, other times (more frequently) a IE crash like in the attached screenshot.

post-59715-0-46188100-1365250741_thumb.j

Edited by Imbuter2000

Share this post


Link to post
Share on other sites

Is the IE10 a 64 bit application?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Is the IE10 a 64 bit application?

It doesn't say if 32 or 64 but it's the default one opened by _IECreate

Share this post


Link to post
Share on other sites

In the task manager you can see if it is a 32 bit application (= *32)


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0