View Issue Details

IDProjectCategoryView StatusLast Update
0002583JEDI VCL00 JVCL Componentspublic2005-02-03 00:40
ReporterwdonkerAssigned Toobones 
Status resolvedResolutionno change required 
Product Version3.00 BETA 2 
Target VersionFixed in Version 
Summary0002583: Access violation on program exit when using JvDirectoryEdit
DescriptionWhen migrating my projects to JVCL 3.00 RC 1 an access violation occurred in a program that ran ok with JVCL 2.
The project's mainform contains a JvDirectoryEdit which triggers the access violation on program exit. Using the debugger I found out that the call to CoUninitialize in TJvCustomComboEdit.Destroy was the cause.

Strangely enough a newly created project did not trigger the error.
Comparing the 2 project-files I discovered that my old project did not contain Application.Initialize and the new one did.
All my older projects (created with D4) lack Application.Initialize so I guess it has been added with D5 or later.

Changes in JVCL 3 related to report 0001987 may explain why this problem did not occur in JVCL 2.

Anyway, this error can be solved by adding Application.Initialize in the .dpr; the problem can be considered resolved.
This report might be useful to anyone stumbling into the same problem.

TagsNo tags attached.



2005-02-03 00:40

administrator   ~0006347

Thanks for the feedback

Issue History

Date Modified Username Field Change
2005-01-31 12:22 wdonker New Issue
2005-02-03 00:40 obones Status new => resolved
2005-02-03 00:40 obones Resolution open => no change required
2005-02-03 00:40 obones Assigned To => obones
2005-02-03 00:40 obones Note Added: 0006347