0

I have my C# dll file, and I want to hook this dll into an exe file ( exe is not mine and C++ )

for example i have code in my dll like

MessageBox.Show("Active");

and I want to show this message after double click exe ,

sorry for my bad english.

Vahid Nateghi
  • 576
  • 5
  • 14

1 Answers1

1

On a basic level, what you are asking is not straightforward - you can't easily get the .exe to run your code if you have no way of editing and recompiling the .exe.

However, if you only want to be able to find out when the process starts, you could check out Monitor process start in the system.

Community
  • 1
  • 1
Нет войне
  • 1,139
  • 1
  • 11
  • 21