Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to integrate with crossmatch device (PATROL ID) using C#
I have a problem when I want to Get Device count , all time I have( -1) value " it's means invalid parameter"


What I have tried:

My code In Load Form :
int devices = 0;
                int stat = VeriferNativeMethods.LSCAN_Main_GetDeviceCount(devices);
                MessageBox.Show(stat.ToString());

-------------------------------------------------
load ddl in another Class (
VeriferNativeMethods
) :
const string DllName = "LScanEssentials.dll";

[DllImport(DllName, EntryPoint = "LSCAN_Main_GetDeviceCount")]
        public static extern int LSCAN_Main_GetDeviceCount(int DCount);
Posted
Updated 10-Oct-19 5:32am

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900