wrappers for non .NET dlls?

  • Thread starter Thread starter Tarren
  • Start date Start date
T

Tarren

Hi:

Can someone point me in the right direction of how I go about writing a
wrapper so that I can reference a C dll in my project. When I try to do so
right now it says.

"This is not a valid assembly or COM component."

This is the first time I have dealt with wrapping a dll, so I am looking for
any examples too.

Books? Online Articles?
 
Tarren said:
wrapper so that I can reference a C dll in my project. When I try to do so
right now it says.

"This is not a valid assembly or COM component."

Is it a COM DLL or a "native" DLL? For the latter take a look at
'Declare'/'DllImportAttribute'/platform invoke.
 

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

Back
Top