Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
ShellExtensions deprecated, forked into FileManager and PowerShell plugins
pebri86:
i compiled PowerShell Plugin and work perfectly with current svn version
but SDK missmatch appeared for FileManager plugins,,,
i need advice from anyone knows the problem..
thank you
sorry for my bad english.
dmoore:
--- Quote from: pebri86 on February 03, 2011, 07:53:38 am ---but SDK missmatch appeared for FileManager plugins,,,
--- End quote ---
Are you building on linux or windows? If linux, try again on latest svn.
dmoore:
--- Quote from: stahta01 on February 02, 2011, 04:48:27 pm ---Patch needed to compile ...
--- End quote ---
Thanks Tim. I've taken all of your patches, but please test to make sure I got it all correctly.
dmoore:
***UPDATE***
I decided to rename PowerShell plugin ToolsPlus (because it offers the functionality of the "Tools" menu "Plus" a bit more). I've also tweaked the user interface to make it mimic behavior of the Tools menu a little more (with the option to replace the standard "Tools" menu with the "Tools Plus" menu).
ToolsPlus
--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/cbilplugin/branches/ToolsPlus
--- End code ---
FileManager
--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/cbilplugin/branches/FileManager
--- End code ---
note that both sets of source are supposed to be installed into plugins/contrib of your C::B source.
stahta01:
Patch to ToolsPlus Plugin for wxWidgets without 2.6 compatible mode
--- Code: ---Index: ToolsPlus.cpp
===================================================================
--- ToolsPlus.cpp (revision 355)
+++ ToolsPlus.cpp (working copy)
@@ -230,7 +230,7 @@
#else
wild=_T("*");
#endif
- wxFileDialog *fd=new wxFileDialog(NULL,_T("Choose the Command Targets"),_T(""),_T(""),wild,wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxMULTIPLE);
+ wxFileDialog *fd=new wxFileDialog(NULL,_T("Choose the Command Targets"),_T(""),_T(""),wild,wxFD_OPEN|wxFD_FILE_MUST_EXIST|wxFD_MULTIPLE);
if(fd->ShowModal()==wxID_OK)
{
wxArrayString paths;
--- End code ---
Note: To build with trunk I also had to patch this; not sure when this change was needed or if you should do it.
--- Code: ---Index: ToolsPlus.cbp
===================================================================
--- ToolsPlus.cbp (revision 355)
+++ ToolsPlus.cbp (working copy)
@@ -37,7 +37,7 @@
<Linker>
<Add library="codeblocks" />
<Add library="wxmsw28$(WX_SUFFIX)" />
- <Add library="wxscintilla" />
+ <Add library="wxscintilla_cb" />
<Add directory="..\..\..\devel" />
<Add directory="$(#wx.lib)\gcc_dll$(WX_CFG)" />
</Linker>
--- End code ---
Neither plugins needed NON-PCH patches under windows.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version