On 07/04/2013 at 17:19, xxxxxxxx wrote:
It's definitely tricky. And you have to get everything just right and in the proper sequence.
It took me several tries to get it working myself.
Note:
The main.cpp file works in combo with the projectsettings.props, DebugWin32.props and ReleaseWin32.props files to automatically create that folder and then loads the proper api .h files into it. So it a critical thing to get right.
Make it easier on yourself.
Only try to create a 32 bit Debug version at this point. Don't even bother with setting up the 32 bit Release options at this point. You can always add those other versions later on after you get it working.
Make sure you have the proper source files before you even get started.
-Do you have a main.cpp file with code in it that registers your HelloWorld plugin?
If not. Your VS setup will not automatically add the External Dependencies folder with the needed api .h files in it. And you won't be able to build the project.
If all else fails and you just can't get it working. And you get frustrated and just want to move on and make a very simple plugin.
You can always make plugins right inside the compiled SDK. It's much easier than trying to build a stand alone plugin framework. A lot of people start off making their first C++ plugin this way.
I have a video tutorial about that here:https://sites.google.com/site/scottayersmedia/scripting
It's aimed at Coffee users trying to switch over to C++ and VS.
It's for R12. But I think most of it is still relevant.
-ScottA