How to convert and use struct c++ to c# using dllImport? -


i haved tried using dllimport call c++ methods. déclaration of fonctions in c ++ :

dword getreaderhandle (handle *handle);
int getscandata (int *count,scn_etq *scandatabuf); int readbyate (byte *password,byte*ate,int atelen,int mr,byte *data,int datalen);
struct scn_etq { int atelen; byte atebuffer[256]; };

please tel me how can convert in c# ?! how can initialise struct scn_etq use in main ? please need ! please need !


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -