Caracol Posted March 22, 2011 Posted March 22, 2011 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!
JohnOne Posted March 22, 2011 Posted March 22, 2011 _FileReadToArray() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Caracol Posted March 22, 2011 Author Posted March 22, 2011 _FileReadToArray()Thanks for the reply JohnOne.Unfortunately this does not seem to work well with dlls... I get very strange results...
Developers Jos Posted March 22, 2011 Developers Posted March 22, 2011 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.
Caracol Posted March 22, 2011 Author Posted March 22, 2011 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.
JohnOne Posted March 22, 2011 Posted March 22, 2011 I assumed it would, as I can open a dll file with notepad, obviously not going to see any source code. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Developers Jos Posted March 22, 2011 Developers Posted March 22, 2011 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.
AdmiralAlkex Posted March 22, 2011 Posted March 22, 2011 Or is the string in a resource? We can't do more than guess since you give us no details. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now