Jump to content

Recommended Posts

Posted

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!

Posted

_FileReadToArray()

Thanks for the reply JohnOne.

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

Posted

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.

  • Developers
Posted

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.
  :)

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
  • Recently Browsing   0 members

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