Please find the below Examples
1. void ExitLibrary(); // C++ function
I am able to covert to C# like below
[DllImport("Visu alFOD.dll", CharSet = CharSet.Ansi)]
public static extern void ExitLibrary();
2. // This method will be used to start the live capturing
bool StartLive(DShow Lib::Grabber* f_Grabber, HDC f_hHdc, RECT f_WindowRect);
// This method will be used to start the live capturing
[DllImport("TIS_ UDSHL09_vc71.dl l", CharSet = CharSet.Ansi)]
public static extern bool StartLive(IntPt r f_Grabber, IntPtr f_hHdc, Rectangle f_WindowRect);
I am not able to access the actual class DShowLib::Grabb er as mentioned in the 2nd statement C++ function.
Do you have any idea how to declare and get the library class name.
This dll is not a COM/.Net dll to include as a reference to C# environment.
Any help will be greatly appreciated.
1. void ExitLibrary(); // C++ function
I am able to covert to C# like below
[DllImport("Visu alFOD.dll", CharSet = CharSet.Ansi)]
public static extern void ExitLibrary();
2. // This method will be used to start the live capturing
bool StartLive(DShow Lib::Grabber* f_Grabber, HDC f_hHdc, RECT f_WindowRect);
// This method will be used to start the live capturing
[DllImport("TIS_ UDSHL09_vc71.dl l", CharSet = CharSet.Ansi)]
public static extern bool StartLive(IntPt r f_Grabber, IntPtr f_hHdc, Rectangle f_WindowRect);
I am not able to access the actual class DShowLib::Grabb er as mentioned in the 2nd statement C++ function.
Do you have any idea how to declare and get the library class name.
This dll is not a COM/.Net dll to include as a reference to C# environment.
Any help will be greatly appreciated.