Thanks for good idea.

But this dont work... i added
Code:
while (GetModuleHandle("Newton.dll") == NULL){wait(1);}
while (GetModuleHandle("JointLibrary.dll") == NULL){wait(1);}


and removed all wait(); function calls, but engine crashes as if there is no waiting for loading DLL at all frown


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro