Difference between revisions of "Plugin structure of C::B"

From Code::Blocks
(new content about the plugin structure)
 
(→‎Overview: add a dependency graph)
 
Line 4: Line 4:
 
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.
 
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.
 
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).
 +
 +
[[File:Plugin-dependency.png]]
  
 
==Links==
 
==Links==
 
[http://edll.sourceforge.net/ Enhanced Dynamic Linking for MS-Windows]
 
[http://edll.sourceforge.net/ Enhanced Dynamic Linking for MS-Windows]

Latest revision as of 08:57, 6 October 2015

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