Plugin structure of C::B

From Code::Blocks
Revision as of 08:57, 6 October 2015 by Ollydbg (talk | contribs) (→‎Overview: add a dependency graph)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

C::B can have many plugins working together, this page will describe how they get communication with each other. Normally, the src target(codeblock.exe) is the main executable, and the sdk target(codeblocks.dll) is the main dll, and all the plguins(such as compiler.dll, codecompletion.dll) are directly communicated with the main dll. The method we used here is described as the "The sub-DLL solution" in the following links.

plugin dependency

As described above, the dependency are as shown in the image below. The arrow means the dependency graph means all the plugin dlls have dependency on the SDK(codeblocks.dll), as well as the main executable(codeblocks.exe).

Plugin-dependency.png

Links

Enhanced Dynamic Linking for MS-Windows