Windows Manual Plugin Instructions include rb_plugin_cpp.h?

Hello Everyone,

It looks like the Visual Studio headers and cpp files for manually building a plugin for Xojo are updated - which is great.

Unfortunately, I am following the instructions in the Read Me.txt in the PluginsSDK folder and I receive the error:

When rb_plugin_cpp.h is included, then I get the following error:

Can anyone else verify these issues, and what are the new instructions with Xojo 2015 r1 to manually build a plugin with the updated code?

Thanks! :slight_smile:

Visual Studio is too old or too new?
maybe you just define the int32_t type?

Thanks for the thoughts Christian,

The plugin instructions were for Visual Studio 2005, and I attempted to build a plugin with Visual Studio 2008, and this is the first time that there has been a difference between the two.

I changed the following line of code in rb_plugin_cpp.h from:


The datatype range should be the same (-2,147,483,648 to 2,147,483,647), and I’ll check and see if there are any stability issues with this change.

Thanks again!

I would nowadays build with nothing but Visual Studio 2013 on Windows. VS 2013 community edition is free for companies with 5 or less people and has same features as Pro. You just save your self a lot of trouble by not going 2005 or 2008.

I been migrating my self from 2008 to 2013 and the process and the results have been very good.

I agree with Björn. I suspect we’ll change the requirements to be VS 2010 or 2013 in an upcoming plugins SDK release.

Changing this property did not work.

Bjorn and Joe,

I’ll give Visual Studio 2013 (Free community edition) a try and see how this works. :slight_smile:

what benefit do you have by changing requirement?
I still use VS 2008 here for my plugins.

Support for newer versions of the C++ standards for one

Well, sure, but for a SDK which defines C functions!?

This includes better conformance with C standards

Supporting older versions of Visual Studio isn’t entirely free. Since we don’t build or test with them, issues like what Eugene ran into happen.