PC Review


Reply
Thread Tools Rate Thread

DLL stringtable

 
 
Tom Bryant
Guest
Posts: n/a
 
      5th Jan 2007
Hi,
I have to read string out of an old dll. How can I open it and access
the stringtables with C# ?
 
Reply With Quote
 
 
 
 
Andy Bates
Guest
Posts: n/a
 
      5th Jan 2007
If you mean old as in 16-bit (NE executable) then take a look at the
previous post I made:

"Hi -

Take a look at:

http://benoit.papillault.free.fr/c/disc2/exefmt.txt
http://www.itee.uq.edu.au/~csmweb/de...n/new_exe.html

They appear to document the MZ/NE executable format.

1. Open a binary file to the executable/dll.
2. Find the NE header by looking at the MZ header.
3. Locate the resource table segment in the NE header.
4. You should then be able to iterate over the resources one by one.

Haven't completed any work like that for a while and certainly not in .NET
but it should be fairly trivial once you get into it.

Looking in the Platform SDK in WINNT.H; if you search for MZ below that it
defines the structures referenced in the above documents."

HTH

- Andy

"Tom Bryant" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi,
> I have to read string out of an old dll. How can I open it and access the
> stringtables with C# ?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to extract/integrate strings from Dialog and StringTable in aDLL? kaipei Microsoft C# .NET 1 22nd Apr 2010 06:17 AM
Help - Script Stringtable Errors =?Utf-8?B?bXNka2Vy?= Windows XP Internet Explorer 0 5th Nov 2005 01:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:38 PM.