Want to Modify DLL Binary without Compiling

S

sippyuconn

Hi

Have an old dll that I don't want to recompile - need to get alot of
ancillary libraries that it depends on yada yada - I thought that I remember
hearing about a way to zap the dll to switch bits ???

What I want to do is I have a statement like ( sorry if I have syntax wrong
- doing C# now)

if (sString == "01/01/2008")

want

if (sString == "01/01/2009")

Is there some way I can switch the bits in dll ??
I have source how would I find correct address etc ???

Maybe I am dreaming and you cannot do this ???

Thanks for any info
 
J

Jialiang Ge [MSFT]

Hello sippyuconn

I believe that it is an unsupported scenario if the DLL is a unmanaged
module, but if it is a managed assembly, this tool
http://www.codeproject.com/KB/msil/reflexil.aspx and this discussion
http://stackoverflow.com/questions/123540/modifying-existing-net-assembles
may be helpful to you.

Regards,
Jialiang Ge ([email protected], remove 'online.')
Microsoft Online Community Support

=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
 

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

Top