I have a Visual c++ application with .h and .cpp files. I want to call the function pointers in c# application. I have inserted .h file of c++ application. Please help with this
// program.h //
#ifndef ess_cH
#define ess_cH
unsigned long long __stdcall ess_initialization(unsigned short serial);
unsigned char __stdcall ess_close(unsigned long long handle);
unsigned char __stdcall ess_get_serial(unsigned long long handle, unsigned short *serialunsigneshort* version);
See Question&Answers more detail:os