I found a good blog entry that explains how to do it:
http://geeklit.blogspot.com/2006/08/...ib-from-c.html
--
HTH,
Kevin Spencer
Microsoft MVP
Software Composer
http://unclechutney.blogspot.com
The shortest distance between 2 points is a curve.
"Bharath" <(E-Mail Removed)> wrote in message
news:E6C5D352-7CA5-4163-85B9-(E-Mail Removed)...
> Hello,
>
> I have to call a method written C inside my C# code.This C code is
> compiled
> to .lib .
> Do i need to convert this to a dll before using it in my C# code or can I
> import the lib file itself.If anybody have idea how to import this in C#
> code,it will be a great help to me.Please reply.
>
> Thanks,
> Bharath