I tried it again with the CVS code and sort of have it working now, without any plugins.
The main problem is the codeblocks.dll MSVC won't build it as a dll and the plugins need to link against it
I got around this by linking it as a static library. however this wont work with the plugins.
You seem to be doing some odd stuff that MSVC dosn't like with regard to your dll exports. some classes appear to be defined in macros and i think they need to be marked as DLL export, im not certian. I'll look into this later. but are you aware of doing anything nonstandard with regard to this?
in the header file settings.h you have MSVC define DLLIMPORT as nothing. defining as the proper declspec gives this error when trying to make the DLL. (for just about every class exported by codeblocks.dll)
class 'FileSetArray' needs to have dll-interface to be used by clients of class 'ProjectTemplateLoader'
Also, I've noticed a lot of strange things in the code, you seem to be casting pointers to longs and vice versa, why is this? its pretty poor practice and not 64 bit portable. (not to insult the devs or anything, i know how tricky large projects can be)