I have a multi-level .dll system between my application, where the lowest level has a class that provides certain functionality - an instance of this class can be obtained through the GetClass () function, and then I can access its properties (basically, collecting information about changing objects).
Now I noticed that when I want to access this information from the next higher level .dll, the compiler complains that I have no link to the lower level .dll (the one that defines the class) - in fact, I would like to avoid to have a good layered structure in my architecture.
How to get around this? Is it possible to re-view the reference type? Should I really write my own shell if I want the exact same functionality? Or do I even need to reference the low-level DLL again?
(If this helps:
dll1: class myClass, myClass GetMyClass()
dll2: myClass GetMyClass()
exe: how to access result from calling GetMyClass (dll2) without referencing dll1?
)
source
share