MoShe
MoShe

Reputation: 6427

how to add c# dll to c++ project

I creating a notepad++ plugin and I want to add reference to c# dll

Is it possible to add C# dll to c++ project?

If so, how Can I do it?

Upvotes: 1

Views: 1527

Answers (4)

Alex Garcia
Alex Garcia

Reputation: 823

To stay a little bit more on the topic of the main question: you can but it's a bit complicated.

Take a look at this : http://www.codeproject.com/KB/cs/ManagedCOM.aspx

Upvotes: 1

Peter Oehlert
Peter Oehlert

Reputation: 16928

Look at notepad++ plugin page which has a c# project sample.

Upvotes: 2

holgac
holgac

Reputation: 1539

Do you want to use the functions in that c# dll? http://www.mono-project.com/Embedding_Mono

I don't know what libraries you will use but you may have to write a wrapper in C#.

Upvotes: 1

Ben
Ben

Reputation: 546

Use COM Interop. MSDN Article

Upvotes: 1

Related Questions