Access violation when reopening form Zeoslib 7.1.4
Posted: 27.11.2017, 04:20
I have a very strange situation here. When opening a form the first time everything works fine.
However, if I close it and then reopen we get an access violation on ZConnection1.Connected := True.
We thought the problem was that ZConnection1 wasn't being freed. So we've set that to happen. No change in the behaviour. In addition, once that happens, all future attempts to get a TZConnection to connect trigger an AV.
We've checked the version of libmysql.dll. It is for V5.5 which is the version of MySQL we're using.
I doubt this will help - but the av is "Access violation at address 0040c4a7 in module PLSRetail.exe. Read of address 0A78D000."
Any help would be appreciated. Or, to be quite honest, I'm seriously thinking of ditching Zeoslib as not being up to the task. Not a step I'll take lightly as we need to modify over 400 forms.
Thanks.
Alan
However, if I close it and then reopen we get an access violation on ZConnection1.Connected := True.
We thought the problem was that ZConnection1 wasn't being freed. So we've set that to happen. No change in the behaviour. In addition, once that happens, all future attempts to get a TZConnection to connect trigger an AV.
We've checked the version of libmysql.dll. It is for V5.5 which is the version of MySQL we're using.
I doubt this will help - but the av is "Access violation at address 0040c4a7 in module PLSRetail.exe. Read of address 0A78D000."
Any help would be appreciated. Or, to be quite honest, I'm seriously thinking of ditching Zeoslib as not being up to the task. Not a step I'll take lightly as we need to modify over 400 forms.
Thanks.
Alan