Editing Embedded Resource

  • Thread starter Thread starter Sahil Malik [MVP]
  • Start date Start date
S

Sahil Malik [MVP]

Okay, so say I have a compiled DLL that contains a string resource.

I don't have access to the source code of the dll, but I wish to change that
resource.

How can I do that? :-)

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
 
Well ildasm's code isn't quite recompilable easily. And I really don't want
to mess up the rather extensive functionality in that dll.

--

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
---------------

Brendan Grant said:
Given that resources are (officially) read only, your best bet would be to
use ildasm to disassemble the assembly, edit the string, and recompile it.
http://msdn.microsoft.com/library/d...l/vbtchTroubleshootingNETInteroperability.asp
has a bit on how to do that.
Brendan


Sahil Malik said:
Okay, so say I have a compiled DLL that contains a string resource.

I don't have access to the source code of the dll, but I wish to change that
resource.

How can I do that? :-)

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
--------------------------------------------------------------------------
--
 
You try using a normal hex editor?

Sahil Malik said:
Well ildasm's code isn't quite recompilable easily. And I really don't
want
to mess up the rather extensive functionality in that dll.

--

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
---------------

Brendan Grant said:
Given that resources are (officially) read only, your best bet would be
to
use ildasm to disassemble the assembly, edit the string, and recompile
it.
http://msdn.microsoft.com/library/d...l/vbtchTroubleshootingNETInteroperability.asp
has a bit on how to do that.
Brendan


Sahil Malik said:
Okay, so say I have a compiled DLL that contains a string resource.

I don't have access to the source code of the dll, but I wish to change that
resource.

How can I do that? :-)

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
--------------------------------------------------------------------------
--
 
Or notepad searching for the string you want to change.

Sahil Malik said:
Well ildasm's code isn't quite recompilable easily. And I really don't
want
to mess up the rather extensive functionality in that dll.

--

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
----------------------------------------------------------------------------
---------------

Brendan Grant said:
Given that resources are (officially) read only, your best bet would be
to
use ildasm to disassemble the assembly, edit the string, and recompile
it.
http://msdn.microsoft.com/library/d...l/vbtchTroubleshootingNETInteroperability.asp
has a bit on how to do that.
Brendan


Sahil Malik said:
Okay, so say I have a compiled DLL that contains a string resource.

I don't have access to the source code of the dll, but I wish to change that
resource.

How can I do that? :-)

- Sahil Malik [MVP]
Upcoming ADO.NET 2.0 book - http://tinyurl.com/9bync
--------------------------------------------------------------------------
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top