View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003550||JEDI VCL||00 JVCL Components||public||2006-03-02 20:37||2006-04-07 07:23|
|Target Version||Fixed in Version||3.30|
|Summary||0003550: TJvScheduledEvents can't save by TJvAppRegistryStorage/TJvAppIniFileStorage/TJvAppDBStorage|
|Description||as set the AppStorage, AppStoragePath, then set AutoSave = True,|
TJvScheduledEvents always show the message:
'Exception EAccessViolation in module Project1.exe at xxxx',
and nothing is saved or loaded.
or is there a document said how to save it? there is none
about it in the Help.
|Tags||No tags attached.|
||Could you create a sample for this?|
example.zip (422,085 bytes)
||I upload one very simple example for this. there is a event under JvScheduledEvents1. even non-event, it still raise 'EAccessViolation'.|
I've posted a new version of the JvScheduledEvents.pas to cvs. Now the AccessViolation didn't raise.
The problem was, that the appstorage components are destroyed, before the ScheduledEvents, and the AutoSave is fired inside the destroy.
Now there is no AccessViolation, but in your sample the save already didn't work. I would say, that you have to do the save manually in the onformclose, or you have to destroy the Events BEFORE the appstorage.
||This is then resolved.|
|2006-03-02 20:37||wzhuang||New Issue|
|2006-03-03 03:36||jfudickar||Note Added: 0008625|
|2006-03-03 08:41||wzhuang||File Added: example.zip|
|2006-03-03 08:44||wzhuang||Note Added: 0008626|
|2006-03-16 15:10||jfudickar||Note Added: 0008677|
|2006-03-16 15:10||jfudickar||Assigned To||=> jfudickar|
|2006-03-16 15:10||jfudickar||Status||new => feedback|
|2006-04-07 07:23||obones||Status||feedback => resolved|
|2006-04-07 07:23||obones||Resolution||open => fixed|
|2006-04-07 07:23||obones||Note Added: 0009026|