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
Post a Comment