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

  • Thread starter Thread starter aaa
  • Start date Start date
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?
 
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
 
Back
Top