Heyas, Attached is a patch that makes sure LoadLibrary()/FreeLibrary() is called as needed, it uses the DLLReference structure that holds the dll name to hold a handle, the patch is on CVS
tccpe.c / resolve_sym() only calls LoadLibrary() once and reuses handles tcc_delete() will call FreeLibrary() on all mapped dlls. Regards, Sam
loadlibrary.diff
Description: Binary data
_______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
