Make library wrapper for c# app

  • Thread starter Thread starter Seeter
  • Start date Start date
S

Seeter

Guest
Hi,

I have PCI card in computer with digital intputs and outputs that has own driver and .dll libraries in system32 and SysWOW64. I want to use these libraries but I cannot add them to references. I got message: "Please make sure that file is accessible and that it is a valid assembly or COM component."

I went through some answers and there might be problem that it is C++ library and I have to make wrapper or use P/Invoke.

I tried to use DllImport but during debugging, there are some problems too.

Card manufacturer provides libraray as .lib and .h file too.

I am newbie to this. How can I make it work and learn something systemathically about wrappers libraries and so on?

Continue reading...
 
Back
Top