Hello, i received a small problem to resolve in my free time regarding changing an objects behavior and also the class behavior at runtime in C++. I read a little bit and found this link, really useful for me. http://www.vollmann.ch/en/pubs/meta/meta/meta.html Mr. Volmann made a Meta object protocol(MOP) for defining classes at runtime, more exactly their properties.
I tried to add methods in the same matter, at runtime, with dynamically loading dlls but the objects weren't aware about their new added behaviors. i saved the details about the methods in the dlls in xml files, and when i wanted to add a new behavior to a class/object i parsed the xml files and loaded only the DLL i needed, but this wasn't flexible enough..
this is just a study case, so if you have any guidance to give please do. I don't have much experience in C++ but i liked the challenge.
Thank you in advance.