Testing SDKBOX IAP in windows win32 application

I’m using cocos2dx 3.4 (in c++) and wanted to integrate In-app purchase (IAP).

I do most of my testing using the win32 project solution created by cocos2d in Visual Studio 2012 because it’s very quick and easy to test things fast and debugging is a breeze. At certain milestones I’ll also create an android APK using eclipse and push it onto my android phone to test it there.

SDKBOX looks like a glorious solution for cross platform IAP integration. Is it possible for me to test and debug my code that uses SDKBOX IAP in Visual Studio 2012? I manually included “PluginIAP.h” but there doesn’t seem to be a library I can link against. I found “libsdkbox.a”, but I think I can’t use that with Visual Studio 2012.

Anyone got any advice on what I can/should do?

You might be able to test it on android simulator.

I’m assuming you’re talking about using a Virtual Device (as is possible with eclipse). I am able to get that working with eclipse, but there’s no real debugging power with eclipse compared to Visual Studio 2012. Eclipse (especially with a virtual device) is also much slower. Unless I’ve been using it wrong, I don’t see how I can effectively test/debug it.

It seems the best solution would be to have a windows version available that is able to use the IAP SDK. Is there such a thing? Or perhaps it’s just a matter of not having the .lib library.

I think Android Studio 1.3 will have c++ debugging support for android but only cocos2d-x 3.7 support it currently.