extern "C" _declspec(dllexport) unsigned int CloseFlesh(unsigned int fl) { FILE *f; f = reinterpret_cast<FILE*>(fl); fclose(f); }