View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003697 | JEDI VCL | 00 JVCL Components | public | 2006-05-10 11:52 | 2006-06-07 03:40 |
| Reporter | Frenk3 | Assigned To | obones | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.20 | ||||
| Target Version | Fixed in Version | 3.30 | |||
| Summary | 0003697: TJvPluginManager.Plugins[0].FileName does return invalid file name | ||||
| Description | TJvPluginManager.Plugins returns invalid FileName ("CustomPlugin" for all plugins). For internal use I modified a method function AddCustomPlugin(PlugIn: TJvPlugIn ): Boolean to function AddCustomPlugin(PlugIn: TJvPlugIn; FileName : string): Boolean and added function TJvPluginManager.AddCustomPlugin(PlugIn: TJvPlugIn; FileName : string ): Boolean; var PlgInfo: TPluginInfo; Counter: Integer; begin Result := False; try // Result := PlugIn.Initialize(Self, Application, 'CustomPlugin'); // error! Result := PlugIn.Initialize(Self, Application, FileName); if not Result then also added to procedure procedure TJvPluginManager.LoadPlugin(FileName: string; PlgKind: TPluginKind); // initialize the plugin and add to list if AddCustomPlugin(PlugIn, FileName) then | ||||
| Additional Information | I attached the unit with fixes (modified by Frenk) | ||||
| Tags | No tags attached. | ||||
|
2006-05-10 11:52
|
JvPluginManager.pas (16,290 bytes) |
|
|
Can you provide a diff file instead ? |
|
|
A slight variation of this is now in CVS. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-05-10 11:52 | Frenk3 | New Issue | |
| 2006-05-10 11:52 | Frenk3 | File Added: JvPluginManager.pas | |
| 2006-05-21 09:36 | obones | Note Added: 0009334 | |
| 2006-05-21 09:36 | obones | Status | new => feedback |
| 2006-06-07 03:40 | obones | Status | feedback => resolved |
| 2006-06-07 03:40 | obones | Resolution | open => fixed |
| 2006-06-07 03:40 | obones | Assigned To | => obones |
| 2006-06-07 03:40 | obones | Note Added: 0009405 |