| |||||||
| General Development (no feature request here!) You were able to fix an issue, or improved a feature? Post it here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member | Just a small talk about plugins loading. In Mediaportal's old versions each plugin resided in its own library. A problem during a pluging loading have no impact expect on itself (cause an exception just stop the process for the current plugin's dll). Since many plugins are included in the same library (i.e. windowsplugins.dll), the exception management of plugins loading must be improved to manage this architecture choice. For example, if an exception occurs within a plugin instance creation ( Activator.CreateInstance(...) ), next plugins will never be loaded because the dll's type loop is in the try-catch block ! I've got this problem, and it makes me unable to use in MP : I saw the first plugin (in name order) screen @ Mp startup and I cannot navigate. The use of reflection must be protected against exceptions ! So at least each Activator.CreateInstance(..) calls must have its own try-catch block. This is the same in Configuration.exe ! To finish, the plugins loader must check if the current type is not an abstract class (that could not been instanciated), I've not seen this test. Thanks !
__________________ --Maniac's Optimize your DiGiMatrix with Windows : http://www.prodigia.org/digimatrix |
| | |
![]() |
| Bookmarks |
| Tags |
| loading, plugins |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VFD display will not work... :-( | vvulture | Codecs, External Players | 8 | 2007-04-25 16:27 |
| LCD plugin supporting more than 70 display types (now with full graphics support!!!) | JoeDalton | Support | 919 | 2007-04-19 11:08 |
| channel change problem... desperate here :-( | vvulture | Codecs, External Players | 11 | 2006-07-23 14:22 |
| MPExTuneCmd Plugin not working as expected | brierot | Codecs, External Players | 12 | 2006-05-29 18:50 |
| DVD-Play VMR9 | blund | The old Bugreport Forum | 4 | 2005-11-27 14:15 |