Sunday, February 14, 2010

Programmer - Faster method for exporting embedded data

Programmer Question

For some reasons, i'm using the method described here: http://geekswithblogs.net/TechTwaddle/archive/2009/10/16/how-to-embed-an-exe-inside-another-exe-as-a.aspx



It starts off from the first byte of the embedded file and goes through 4.234.925 bytes one by one! It takes approximately 40 seconds to finish.



Is there any other methods for copying an embedded file to the hard-disk? (I maybe wrong here but i think the embedded file is read from the memory)



Thanks.

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails