Skip to content

Crashes without debug error when overwriting old snapshot. #3

@EliezerB123

Description

@EliezerB123

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..')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions