Hi all,
I am trying to modificate an assembly (mine) just by ildassembling it and by modifying the MSIL code. I just want to pop a MessageBox.
Here is my code :
.module extern Fusion.dll
.module extern kernel32.dll
.module extern advapi32.dll
.module extern aspnet_state.exe
.module extern webengine.dll
.module extern aspnet_wp.exe
.module extern mscorwks.dll
.module extern ole32.dll
.module extern mscoree.dll
.module extern Netapi32.dll
.assembly extern mscorlib
{
...
...
IL_0052: ldstr "ahahahahahah"
IL_0057: callvirt instance [mscorlib]System.Windows.Forms.MessageBox::Show(string)
IL_005c: ldloc.0
IL_005d: ret
} // end of method
...
I have no error, but the MessageBox does not appear :\
Thanks for helping !