This project is read-only.

DLL files are not unloaded in Batch Export

Sep 10, 2010 at 1:37 PM

The method Anolis.Resourcer.CommandLine.BatchProcess.ProcessFile() does not call Dispose() on ResourceSource source, and after processing many files, LoadLibraryEx starts to throw Win32 errors "Not enough storage is available to process this command", and many resources are not extracted.

I found this bug because I wanted to export all the graphical resources of the Windows directory, but most resources were missing.

I added source.Dispose() at the end of ProcessFile() and now it works correctly.

 

 

 

Sep 14, 2010 at 1:13 AM

Hey there,

Thanks for the update, I'll add it to the list of fixes in the next release (when I get round to it, heh).

Dec 28, 2010 at 12:36 AM

Okay, I've fixed this in my local source code collection. I'll make a commit later this week as well as a new binary release.