Sign in to follow this  
Followers 0
notta

FileOpenDialog causing AutoIT3.exe ended.rc:-1073741819

2 posts in this topic

FileOpenDialog is crashing for me. Here is some scrap code to test it and see if you guys get the same thing.

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

    
GUICreate("Test",300,300) ; will create a dialog box that when displayed is centered
$btnBrowse = GUICtrlCreateButton("Browse",130,150,50)

GUISetState(@SW_SHOW)


While 1
        $msg = GUIGetMsg()

        if $msg = $btnBrowse Then
            $var = FileOpenDialog("Test",@WorkingDir,"(*.txt;*.csv)")
        EndIf
        
        If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend

Choose a file and then click the button again and pick a new file a few times. Running version 3.2.12.0

Error I'm receiving:

>11:14:15 AutoIT3.exe ended.rc:-1073741819
+>11:14:17 AutoIt3Wrapper Finished

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