I\'ve a little question to ask you.
I have one C++ source and one header files. The C++ file uses windows.h library, makes operations using serial port(basic operati
You need to compile your C++ code into a dynamic link library and do the following in C#:
class MyClass { [DllImport("MyDLL.dll")] public static extern void MyFunctionFromDll(); static void Main() { MyFunctionFromDll(); } }