Sign in to follow this  
Followers 0
grasshopper3

Script Crashing, what does this exit code mean?

6 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



can you post the code?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

I am not sure. I have tried it both ways and both ways crash. I don't have much experience with dlls either so I am open to suggestions. The way that this dll is called I found in the forum. I am not sure that it is correct way.

Share this post


Link to post
Share on other sites

Try to replace the dll file with new one, or with new vrsion if available...

Read this too: http://win.downloadatoz.com/tutorial/2149,How-to-resolve-ntdll-dll-error.html

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