I'm trying to use c++ class method in my c# windows application
I use this
[DllImport("ZKNetLib.dll", EntryPoint = "ZK_NET_DEV_SetEventCallBack")]
public static extern int ZK_NET_DEV_SetEventCallBack(int u32Handle, ref OnEventCallBack u32Event, IntPtr pUserData);
to import the dll and their method
But, in dll method there are some other methods are also used, which i fine very tough to find out
what exactly is happening. Like, in above import there is "OnEventCallBack" method that dll is using. So, is there any way to use these c++ class and header files in my windows application.
I, heard of using c# application class in c++ by making the class object and using there namespace.
So, i was wondering there should be any way of using these header file and class into my c# application too.
Please help. I'm so confused in all this.