View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002583||JEDI VCL||00 JVCL Components||public||2005-01-31 12:22||2005-02-03 00:40|
|Status||resolved||Resolution||no change required|
|Product Version||3.00 BETA 2|
|Target Version||Fixed in Version|
|Summary||0002583: Access violation on program exit when using JvDirectoryEdit|
|Description||When 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.
|Tags||No tags attached.|