unhandled exception on NewtonDestroy

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

unhandled exception on NewtonDestroy

Postby hamsterexplosion » Sun Nov 03, 2013 5:14 pm

the whole simulation runs ok, but on exit, when i call NewtonDestroy it brakes. what could be the cause?
neglecting NewtonDestroy function removes this break, but is that ok not to destroy it?

here's call stack:
Code: Select all
   The Game.exe!ptw32_new()  Line 84 + 0x2 bytes   C
    The Game.exe!pthread_self()  Line 83 + 0x5 bytes   C
    The Game.exe!pthread_join(ptw32_handle_t thread={...}, void * * value_ptr=0x00000000)  Line 115   C
    The Game.exe!dgThread::Close()  Line 200 + 0xf bytes   C++
    The Game.exe!dgWorld::~dgWorld()  Line 322   C++
    The Game.exe!Newton::`scalar deleting destructor'()  + 0x8 bytes   C++
    The Game.exe!NewtonDestroy(const NewtonWorld * const newtonWorld=0x02e30460)  Line 204   C++
User avatar
hamsterexplosion
 
Posts: 20
Joined: Thu Jul 11, 2013 11:54 am
Location: ukraine

Re: unhandled exception on NewtonDestroy

Postby Julio Jerez » Sun Nov 03, 2013 5:28 pm

that kind of error happen when you mismatch windows libraries. all the project have all of the library types. use the one that matches your project
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest