Jump to content

Recommended Posts

Posted (edited)

I've been pestering BigDod via PM, asking him to try some variations - but I might as well post these steps here anyway:

I do not think that the steps that lead to a crash are all that clear:

Enable "Show pop-up description for folder and desktop items"

[via explorer > tools > folder options > view tab near the bottom]

place a text file on your desktop...

place the au3 script that MHz* posted on your desktop

open/edit it with SciTE

select run or beta run (both crash)

select "generate report" from the GUI

(a file open dialog box should open)

cancel that box

select "generate report" again

now, within the file open dialog box - mouse over a text file

...when the popup from the OS attempts to come up - the AutoIt GUI crashes...

*I like the OnAutoItExit

Edit: Desktop Interface = Windows Classic (Modified)

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

As a followup, this crashes in shell32.dll which means it's Microsoft's bug. I don't have the current debug symbols for shell32.dll or I could pin-point it further.

Somebody should consider A) Test this on other versions of Winodws using notepad. :) Report to Microsoft.

I've reported it

Posted

I've been pestering BigDod via PM, asking him to try some variations - but I might as well post these steps here anyway:

I do not think that the steps that lead to a crash are all that clear:

Enable "Show pop-up description for folder and desktop items"

[via explorer > tools > folder options > view tab near the bottom]

place a text file on your desktop...

place the au3 script that MHz* posted on your desktop

open/edit it with SciTE

select run or beta run (both crash)

select "generate report" from the GUI

(a file open dialog box should open)

cancel that box

select "generate report" again

now, within the file open dialog box - mouse over a text file

...when the popup form the OS attempts to come up - the AutoIt GUI crashes..

*I like the OnAutoItExit

Still no crash here.

BTW

It was not pestering I was and am pleased to help. :)


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted

How? Did you find something this guy couldn't?

Emailed a contact link on the microsoft site, then later spoke to someone on the phone and just told them how to re-create it, they just said that they would look at it and may need to ring me back.

Dear Chris,

Thank you for contacting regarding the issues that you have encountered with your Microsoft® Windows XP software.

Due to a variety of factors that could have brought this about, it would be necessary for you to speak to a Microsoft Support Technician, who would be in a position to establish if this is in fact a bug within the software and also, if it is previously known to us. I am referring you to a technician, as I am a Customer Service Representative and do not have the technical expertise to advise you on this issue. I assure you that our technicians can provide you with more appropriate information.

You can contact our Technical Support Team on 0870 60 10 100. The lines are open from 8AM to 6PM, Monday to Friday excluding public holidays.

You may also wish to post your opinion on our Newsgroup web site at the following website, or alternatively chat with one of our Most Valuable Professionals (MVPs):

http://support.microsoft.com/newsgroup/default.aspx

Thank you for getting in touch.

Kind Regards,

Geetha Shivakumar

Customer Service Professional

Microsoft Customer Services

Posted

The problem come from the fact the guimsg loop is blocked by the FileOpenDialog. No AutoIt instruction are executed until the end of the first execution.

Using GUIOnEvent mode solve this issue

#include <GUIConstants.au3>
Opt("GUIOnEventMode",1)
GUICreate("Directory Compare", 831, 569, -1, -1)
GUISetOnEvent($GUI_EVENT_CLOSE,"ExitGUI")
$Report = GUICtrlCreateButton("Generate Report", 510, 510, 160, 20)
GUICtrlSetOnEvent($Report,"OpenDialog")

GuiSetState()

While 1
    Sleep(10)
WEnd

Func ExitGUI()
    Exit
EndFunc

Func OpenDialog()
    FileOpenDialog ("test",-1, "(*.*)")
EndFunc

It is never good to block the message loop of the GUI :)

Posted

@jpm,

The XP OS crashes your script also - on my systems.

To crash notepad on XP

Enable "Show pop-up description for folder and desktop items"

[via explorer > tools > folder options > view tab, near the bottom]

place a text file on your desktop...

open that file via notepad

select file > open

(a file open dialog box should open)

cancel that box

select file > open again

now, within the file open dialog box - mouse over a text file

...when the pop-up from the OS attempts to come up - notepad crashes on some systems...

the text file must be on the desktop

the file open dialog box must start in the desktop folder

"pop-ups" must be enabled

Does notepad crash for you?

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

@jpm,

The XP OS crashes your script also - on my systems.

To crash notepad on XP

Enable "Show pop-up description for folder and desktop items"

[via explorer > tools > folder options > view tab, near the bottom]

place a text file on your desktop...

open that file via notepad

select file > open

(a file open dialog box should open)

cancel that box

select file > open again

now, within the file open dialog box - mouse over a text file

...when the pop-up from the OS attempts to come up - notepad crashes on some systems...

the text file must be on the desktop

the file open dialog box must start in the desktop folder

"pop-ups" must be enabled

Does notepad crash for you?

Thanks

I agree It crash my GUIOnEvent script and also the notepad without any assistance of AutoIt script.

Glad to know that I cannot do anything on this Windows Problem.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...