Jump to content

Copy dll contents to txt file


Recommended Posts

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!

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...