开发者

write plug-in system in c++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

Good time of day! Prompt please me, where can I find informatio开发者_JAVA技巧n about creating a system of plug-ins in C + +? linux


It highly depends on your OS, but the principle is always the same:

Usually, your program load one or several dynamic libraries - the plugins - (.dll files on windows, .so on *nix) that have the same public interface (the same set of functions, with identical names and parameters).

By the way, those libraries do not require to be written in C++: you may create your main program using C++ then create a plugin using Delphi. As long as the public interface remains the same, it's all fine.

You didn't gave use enough information to be more specific.

What OS are you targetting ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜