Jump to content

Script Crashing, what does this exit code mean?


Recommended Posts

Does anyone know what this error message mean? Exit code: -1073741819

This is in the Windows Error Msg...

AppName: autoit3.exe AppVer: 3.3.6.1 ModName: ntdll.dll

ModVer: 5.1.2600.5755 Offset: 00010a19

It happens when I am using "cddbcontrol.dll" to edit ID3 tags on an array of file ~32 files.

Edited by grasshopper3
Link to comment
Share on other sites

here is the snippet that is failing... it is in a loop.

;Start Required Dll
    _DLLstartup() ;#include "_ID3_Tagging.au3"
    ;Pick the Best Match
    If UBound($EvalArr)=1 And $EvalArr[0][2]>3 Then
        $LASTinfo = _LASTfm_Track_GetInfo($EvalArr[0][1],$EvalArr[0][0]);#include "_LAST.fm_API.au3"
        
        ;_ArrayDisplay($LASTinfo,$FileName & '1')
        If IsArray($LASTinfo) Then
            ;Artist
            If $PropArr[16]<>$LASTinfo[6] Then
                ;MsgBox(0,'Artist',$LASTinfo[6])
                _setID3Tag($FullFilePath,'LeadArtist',$LASTinfo[6])
            EndIf
            
            ;Track Title
            If $PropArr[10]<>$LASTinfo[1] Then
                ;MsgBox(0,'Track Title',$LASTinfo[1])
                _setID3Tag($FullFilePath,'Title',$LASTinfo[1])
            EndIf
            
            ;Album
            If $PropArr[17]<>$LASTinfo[9] Then
                ;MsgBox(0,'Album',$LASTinfo[9])
                _setID3Tag($FullFilePath,'TitleAlbum',$LASTinfo[9])
            EndIf
            
            ;Track Position/Number
            If $PropArr[19]<>$LASTinfo[8] Then
                ;MsgBox(0,'Track Position/Number',$LASTinfo[8])
                _setID3Tag($FullFilePath,'TrackPosition',$LASTinfo[8])
            EndIf
        Else
            ;Skip File
        EndIf
Endif

Func _DLLstartup($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    RunWait('regsvr32 /s ' & '"' & $DLLpath & '"')
EndFunc   ;==>_DLLstartup

Func _DLLshutdown($DLLpath = '')
    If $DLLpath = Default Or $DLLpath = '' Then $DLLpath = @ScriptDir & '\cddbcontrol.dll'
    RunWait('regsvr32 /u /s ' & '"' & $DLLpath & '"')
EndFunc   ;==>_DLLshutdown
Edited by grasshopper3
Link to comment
Share on other sites

I have like zero experience with DLL's, but you said that this code was inside a loop.

Are you sure you could use the _DLLstartup() inside a loop? :graduated:

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
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
 Share

  • Recently Browsing   0 members

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