U
U
UkrDay2010-09-03 14:18:22
DLL
UkrDay, 2010-09-03 14:18:22

DLL Injection in C#

I wrote a C# program that injects a DLL into a workflow.

But the problem is that the DLL (also written in C #) is injected, but the message does not show.
Do not tell me what could be the problem?

DLL code:



using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices; 

namespace MyDll
{
  public class Class1
  {
    public void Main()
    {
      while (true)
      {
        MessageBox.Show("Hello world!");
      }
    } 
  }
}


If you need I can also add the loader code.!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question