C++ modularization framework (like OSGi) ?

后端 未结 7 813
既然无缘
既然无缘 2020-12-28 10:44

I found one SOF http://www.codeproject.com/KB/library/SOF_.aspx , Are there anyother stable frameworks for modularization in C++ ?

7条回答
  •  抹茶落季
    2020-12-28 11:15

    I've never seen a solution to the whole problem, but I implemented something similar using Qt plugins.

    The part Qt did nicely (that C++ by itself doesn't implement) was handling C++ OO interfaces in dynamically loadable modules. Because of C++ name-mangling being non-standard, usually DLLs don't have C++ interfaces, only C interfaces. Qt did it with it's meta-object system, and it worked really cleanly for me.

提交回复
热议问题