I was not using rotor, I was using the .Net Framework. The rotor example
trying to achieve. If I could get that example working for the .Net
""Jeffrey Tan[MSFT]"" <v-jetan@online.microsoft.com> wrote in message
news:x9Mm%23mBlFHA.940@TK2MSFTNGXA01.phx.gbl...
> Hi Matt,
>
> Thanks for your post.
>
> Yes, I think this should can be done. Because I found some internal record
> regarding this issue: using DefineUserString to do IL modification for
> certain application. Although I have not tried this yet.
>
> For the link you tried, it is a rotor sample code. Do you used rotor to
> try
> it or do you modifiy it and try it on .Net Framework?(Based on my
> experience, to use it in .Net Framework, we have to modify some of this
> source code) If you try this source code on rotor, can you tell me which
> OS
> you did the test? Normally, Rotor can only run successfully before
> WindowsXP SP2, on my Win2003 machine, it will fail...
>
> If you do the code modification and test it in .Net Frameowrk 1.1, can you
> provide me your test sample project, then we can do some test and
> reproduce
> out your problem. Thanks.
>
> Finally, if you want to get more information about IL modification, there
> is a wonderful MSDN article talk about this:
> "Rewrite MSIL Code on the Fly with the .NET Framework Profiling API "
>
http://msdn.microsoft.com/msdnmag/issues/03/09/NETProfilingAPI/ >
> Hope this helps
> ==========================================================
> Thank you for your patience and cooperation. If you have any questions or
> concerns, please feel free to post it in the group. I am standing by to be
> of assistance.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Partner Support
> Get Secure! -
www.microsoft.com/security > This posting is provided "as is" with no warranties and confers no rights.
>