View Issue Details

IDProjectCategoryView StatusLast Update
0002514JEDI VCL99 Otherpublic2005-01-22 06:28
ReporterTHuberAssigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionopen 
Product Version3.00 BETA 2 
Target VersionFixed in Version 
Summary0002514: PlugInDemo example exception
DescriptionAfter 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.
TagsNo tags attached.

Activities

obones

2005-01-17 03:04

administrator   ~0006164

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.

THuber

2005-01-17 03:35

developer   ~0006170

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.

Issue History

Date Modified Username Field Change
2005-01-16 09:19 THuber New Issue
2005-01-17 03:04 obones Note Added: 0006164
2005-01-17 03:04 obones Status new => feedback
2005-01-17 03:35 THuber Note Added: 0006170
2005-01-22 06:28 obones Status feedback => closed