FastFind icon indicating copy to clipboard operation
FastFind copied to clipboard

Crashes without debug error when overwriting old snapshot.

Open EliezerB123 opened this issue 6 years ago • 3 comments

Hi! So, the library looks very attractive, and I would love to use it, but unfortunately it seems to crash whenever I overwrite a snapshot after FFLocalizeChanges or FFIsDifferent This simple code will cause it to crash every time. Note: This code works fine on release v2.1. It appears to only fail on v2.2


#include "FastFind.au3"

#RequireAdmin FFSetDebugMode(0)

ConsoleWrite(@CRLF & 'Starting program') FFSetDefaultSnapShot(1) FFSnapShot() Sleep(2000) FFSetDefaultSnapShot(2) FFSnapShot() If FFIsDifferent(1,2) Then ConsoleWrite(@CRLF & 'Yup, they"re different.' & @CRLF) Else ConsoleWrite(@CRLF & 'Nope, they"re the same.' & @CRLF) EndIf FFSnapShot();This line will cause the program to crash. ;FFDuplicateSnapShot(1,2); This line would ALSO cause the program to crash. ConsoleWrite(@CRLF & 'Finished replacing Snapshot 2') ConsoleWrite(@CRLF & 'The green land of happiness that is forever out of reach..')

EliezerB123 avatar Mar 29 '18 20:03 EliezerB123

Hi, thank you for this report. Quite weird, as 2.2 is not supposed to have significant changes on those algorithms. Now it makes quite a long time I wrote this (and several years I stopped writing code in C++). Will try to check this when I find the time.

FastFrench avatar Apr 24 '18 19:04 FastFrench

I am trying to write a new function that incorporates 3 shade variations for each red,green, and blue separately but I am having an error compiling in x64. It compiles fine for 32 bit. Here are the errors:

Severity Code Description Project File Line Suppression State Error A2008 syntax error : . FastFindDLL C:\Users\vinmr\Downloads\FastFind-master\FastFind-master\FastFindDLL\Win9x.asm 1

Severity Code Description Project File Line Suppression State Error MSB3721 The command "ml64.exe /c /nologo /Zi /Fo"C:\tmp\FastFindDLL\Debug\Win9x.obj" /W3 /errorReport:prompt /TaWin9x.asm" exited with code 1. FastFindDLL C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\masm.targets 70

vinmred avatar Feb 06 '20 20:02 vinmred

Hi, thank you for this report. Quite weird, as 2.2 is not supposed to have significant changes on those algorithms. Now it makes quite a long time I wrote this (and several years I stopped writing code in C++). Will try to check this when I find the time.

Hey.. Are you able to fix this? I'm having the same issue and kinda stuck now. I would use the older versions but they're all throwing some dll error.

st-t avatar Dec 13 '20 14:12 st-t