Piotr Caban (@piotr) commented about dlls/msvcp90/exception.c:
+DEFINE_THISCALL_WRAPPER(bad_function_call_copy_ctor, 8) +bad_function_call* __thiscall bad_function_call_copy_ctor(bad_function_call *this, const bad_function_call *rhs) +{
- TRACE("%p %p\n", this, rhs);
- exception_copy_ctor(this, rhs);
- this->vtable = &bad_function_call_vtable;
- return this;
+}
+DEFINE_THISCALL_WRAPPER(MSVCP_bad_function_call_dtor, 4) +void __thiscall MSVCP_bad_function_call_dtor(bad_function_call *this) +{
- TRACE("%p\n", this);
- MSVCP_exception_dtor(this);
+}
This function in not needed, you can call MSVCP_exception_dtor directly.