No DLLS are used, it's all lite-C.
I just had another issue, tracked it down to a function I haven't changed in months. It used a while(1) loop, I altered the function so that it could be called by the main function and it works fine now. So far seems that I may in time rewrite the entire game to remove any "wait(1);" in the game as that always seems to be the issue.