User forums > Help
Help Plugin Installation
bungle:
OK, I downloaded the SDK, extracted the contents into the directory
"C:\Program Files\CodeBlocks\src\sdk"
Now it compiles and creates the dll. I then have to zip the help_plugin.xrc to help_plugin.zip and place the 2 files into their correct directories. As soon as I do that, and try to restart C::B it creates an exit error dialog:
codeblocks.exe - Application error
The instruction at "0x60641252" referenced memory at "0x00000000". The memory could not be "read".
Where can I download your snapshots which include this plugin?? and will that need compiling too??
Thanks again
STEVE
Ceniza:
--- Quote from: bungle ---Where can I download your snapshots which include this plugin?? and will that need compiling too??
--- End quote ---
Just click the link that says "Every now and then Code::Blocks CVS binary snapshots." at the end of any of my posts.
It won't need compiling but it doesn't include the wxSmith plugin. I'll have it in mind for the next release.
grv575:
That's what I got (memory access violation) when the zip and plugin dll resources were not in the correct directory. The plugin should probably be more fault tolerant here when it load, the resources, or even better add failsafe code (like try catch I around the plugin loader code.
--- Quote from: bungle on September 07, 2005, 03:45:54 pm ---OK, I downloaded the SDK, extracted the contents into the directory
"C:\Program Files\CodeBlocks\src\sdk"
Now it compiles and creates the dll. I then have to zip the help_plugin.xrc to help_plugin.zip and place the 2 files into their correct directories. As soon as I do that, and try to restart C::B it creates an exit error dialog:
codeblocks.exe - Application error
The instruction at "0x60641252" referenced memory at "0x00000000". The memory could not be "read".
Where can I download your snapshots which include this plugin?? and will that need compiling too??
Thanks again
STEVE
--- End quote ---
rickg22:
That's an easy problem, the plugin tries to load sources from XRC. All it has to do is add some nullchecks, and voila :) I think all plugins should check for the resources before loading.
grv575:
Yes but do we trust the user to compile and setup plugins correctly? A plugin which doesn't do NULL checks will crash codeblocks in this case... I guess if we leave it up to the plugin author to do this then it just needs to be documented clearly how to install plugins and their resources in the plugin sdk.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version