Linking a C# application to a VC++ dll

R

Rookie

Hi,

I needed some information on linking a C# application to a VC++ dll.
How can this be done? It would be great if someone could give links to
tutorials/articles on this subject. Thanks.
 
S

Shakir Hussain

Rookie,

There is no linking concept in c#.

To access your VC++ dll, use DllImport. You have to convert your structures
(if any) to managed structure to send or return values.

However, you can link your VC++dll, in VC.NET. Still you can use windows
forms like c#.

Shak.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top