Re: Using DLLs to extend an existing class

2017-12-19 Thread rikki cattermole via Digitalmars-d-learn
I am afraid to say this has quite a simple answer. TypeInfo (and with that vtables used as part of classes), do not cross the dll boundary (other platforms things mostly work). Which means, can't do what you are wanting I'm afraid. It is an implementation issue that we REALLY REALLY REALLY ne

Using DLLs to extend an existing class

2017-12-19 Thread Sebastian Trent via Digitalmars-d-learn
I'm developing a plugin system for a D program. I have a complex class hierarchy which will be complied into our executable, and I want third parties to be able to further extend it with their own DLLs - subject to implementing an API present in the most derived class - which will be provided