void CloseDDDengine()
  It close the DDDengine, and unload the dddengine.dll, and it free all memory allocations.