Good time of day! Prompt please me, where can I find information about creating a system of plug-ins in C + +? linux
+3
A:
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 ?
ereOn
2010-09-08 12:10:26