I have just been thinking about this particular problem.
I figured out how to share a class outside a DLL with another application. This is done by declaring an abstract class in a "interface" unit. both the main application and the dll reference this unit, there is an additional function on the dll to return and instance of the class within the DLL. All of this requires a shared memory unit so the whole application using the same memory manager.
Now why do I have a problem :?: :?:
I want to be able to derive a new class from one that is implemented in another DLL. Like you can with Delphi packages. There must be a way of doing this, anyone got any ideas :?:
Bookmarks