Sign in to follow this  
Followers 0
Caracol

Copy dll contents to txt file

8 posts in this topic

Hi,

I want to write a script that takes a DLL file and converts it to txt. In fact I want to take line by line as strings and push them into an array.

I am having trouble understanding how to utilize EnumResourceNames (it's my understanding that this is the best way to access dll contents).

Can someone please advise on this?

Thanks!

Share this post


Link to post
Share on other sites



_FileReadToArray()

Thanks for the reply JohnOne.

Unfortunately this does not seem to work well with dlls... I get very strange results...

Share this post


Link to post
Share on other sites

Don't see how this would work with a binary file... so what is it you want to do with the DLL?

The specific dll I'm trying to read was written in C++ and contains (among other things) a list of strings.

Share this post


Link to post
Share on other sites

The specific dll I'm trying to read was written in C++ and contains (among other things) a list of strings.

Assumed as much but that still begs the question what you want to do with it?

Either way, you will have to open the file in binary mode to be able to read it. Check the helpfile for reading files in binary mode.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0