Need help?[C++] DLL Function crashes my program - MPGH