Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Recovering from a DllCall crash

$
0
0

Is there any way to recover and carry on running an app after a DllCall becomes unresponsive?

 

The problem is that I need to run this dll  call and sometimes it will fail and never return  

(AutoIt3.exe ended.rc:-1073741819).

 

DllCall("msvcrt.dll", "int:cdecl", "memcmp", "ptr", $ptr1, "ptr", $ptr2, "int", $smallest)

 

The closest I can get to a solution is _OnAutoItErrorRegister

http://www.autoitscript.com/forum/topic/126714-onautoiterrorregister-handle-autoit-critical-errors/

but that seems to need my script to close and restart rather than just carrying on with the code after the DllCall

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>