It looks like you're new here. If you want to get involved, click one of these buttons!
need to embed an API written in C++ in .NET that is used by a Fingerprint device into a .NET application.
I tried with both languages VB.NET and C# but still I'm unable to understand the issue its giving me;
Unable to find the entry point in the DLL.
That means its accessing the DLL, but what is the issue can you please tell me?
Here is the sample Code:
internal static class UnsafeNativeMethods
const string _dllLocation = "ABCAPI.dll";
[DllImport(_dllLocation, EntryPoint = "ABCFunc", SetLastError = true, CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.Cdecl )]
public static extern bool ABCFunc();