View Issue Details

IDProjectCategoryView StatusLast Update
0003550JEDI VCL00 JVCL Componentspublic2006-04-07 07:23
ReporterwzhuangAssigned Tojfudickar 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.10 
Target VersionFixed in Version3.30 
Summary0003550: TJvScheduledEvents can't save by TJvAppRegistryStorage/TJvAppIniFileStorage/TJvAppDBStorage
Descriptionas 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.
TagsNo tags attached.

Activities

jfudickar

2006-03-03 03:36

developer   ~0008625

Could you create a sample for this?

2006-03-03 08:41

 

example.zip (422,085 bytes)

wzhuang

2006-03-03 08:44

reporter   ~0008626

I upload one very simple example for this. there is a event under JvScheduledEvents1. even non-event, it still raise 'EAccessViolation'.

jfudickar

2006-03-16 15:10

developer   ~0008677

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.

Greetings
Jens

obones

2006-04-07 07:23

administrator   ~0009026

This is then resolved.

Issue History

Date Modified Username Field Change
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