Plugin structure of C::B

From CodeBlocks
Jump to: navigation, search

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