How do I call a Visual C dll in my .NET app?

A

aaa

How do I create a Visual C class in my C# app? I have been able to make ref
but i all I can see in the object browser is a bunch of structs?
 
M

Mohamoss

Hi
if all what you need to do is to call function from that dll you can use
the Dllimport attribute. define the signature of the functions to call to
be able to do that calls. You can read on how to use that attribute on this
link
http://www.google.ae/url?sa=U&start=1&q=http://msdn.microsoft.com/library/en
-us/cpref/html/frlrfSystemRuntimeInteropServicesDllImportAttributeClassTopic
asp&e=9732
hope this helps
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 

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