FIXED: C++ SOP example crashes touchdesigner

I can build the simpleshape example fine however when I bring the dll into TouchDesigner it crashes.

I tried upgrading first to 2017 v141 on visual studio 10.0.16299.0 and that builds but then crashes. Not upgrading and trying to use VS 2015 seems to cause a load of errors and not build at all.

dmp file attached. can provide the project if needed.
TouchDesignerCrash099.x64.2018.22800.1.dmp (216 KB)

Thanks, already had a similar report and think we have a fix already.

Build 2018.23080 with a fix for this is now available.

Download