0

I am trying to add ftrScanApi.dll reference into my window application but it gives me error of:

"A reference to ... dll could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."

I have tried all the help available online but couldn't fix the issue.

Gilad Green
  • 36,708
  • 7
  • 61
  • 95
user2601862
  • 59
  • 1
  • 1
  • 9

1 Answers1

0

Looks like you haven't googled enough : double check A reference to the dll could not be added

I want a solution for this : Please make sure that the file is accessible and that it is a valid assembly or COM component

Basically it's not native dll that you can add in visual studio by "Add reference".

Try to use dllimport if you know methods for that dll How to use [DllImport("")] in C#?

Edit : Some more googling showed that dll was written with c++. You can find header file here - this will help you to get methods/functions for that dll.

Community
  • 1
  • 1
Vytautas Plečkaitis
  • 851
  • 1
  • 13
  • 19
  • No.. i have googled too much, but when i contacted the companies technical team then they replied that "you can not add this dll directly as it is native dll", and then they provided me a different source code that i used later. – user2601862 Sep 04 '16 at 17:55