Change c++ exception handling mode to /EHs (extern "C" may throw exception); Implemented execScript lua api