View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002514 | JEDI VCL | 99 Other | public | 2005-01-16 09:19 | 2005-01-22 06:28 |
| Reporter | THuber | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | 3.00 BETA 2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0002514: PlugInDemo example exception | ||||
| Description | After a full install, I did run jvcl\examples\CompileExamples.bat which builded all examples into the jvcl\bin directory without any errors. If you then start the PlugInDemo.exe you'll get an exception. Reason for this is that the plugin manager tries to load all existing plugins from the bin directory and the mdi plugin demo crashes the PlugInDemo sample. I suggest to build the plugins into subdirectories and change the property PluginFolder accordingly (eg. to .\PlugInDemo) to prevent loading of any unwanted plugins. | ||||
| Tags | No tags attached. | ||||
|
|
Don't call the CompileExamples.bat file, it is not safe, as you found out. It is not an option for us to build all projects in separate folders, that would simply be unmaintainable. Clear the bin directory and rebuild the example you are interested in. Please let us know how it goes. |
|
|
Well, for me it's ok, I've build the plugins in subdirectories and changed the hos application to search in the subdirectory; examples work as expected. Just wanted to let you know as I think Jvcl newbies will find the compile.bat, run it and look which possibilities Jvcl offers. Not good if then exceptions happens. The problem is only for the plugin samples you would not have to build all samples into subdirectories. Another solution without subdirectories would be to have special file extensions for the plugins so the SimplePlugInDemo plugin could compile the plugin to .simpleplugin and the host application would only search for files with simpleplugin file extension. |