DLL based gp tool cancels itself

Discussion created by crispincooper on Oct 5, 2011
Latest reply on Oct 5, 2011 by crispincooper
Since optimizing my python-ctypes-dll based geoprocessing tool, it seems to cancel itself a lot.  Followed by arcmap reporting a pure virtual function call (which is odd, because you'd think any such bug would show up in ArcSOCP, right..?)

I'm currently working on the presumption that I've done something stupid in my DLL and have some good old C++ undefined behaviour going on.  But if anyone has other suggestions as to why tools can cancel their own execution at runtime, I'm all ears.

I'm using the intel compiler, multithreading with openmp and the stlport standard library, for what it's worth.