Crash on call of cl_boot from dll init function