How to display the values from structures in C# from C++
问题 abc.h file typedef struct sp_BankNoteTypeList { int cim_usNumOfNoteTypes; struct sp_notetype { USHORT cim_usNoteID; CHAR cim_cCurrencyID[3]; ULONG cim_ulValues; bool cim_bConfigured; }SP_CIMNOTETYPE[12]; }SP_CIMNOTETYPELIST,*SP_LPCIMNOTETYPELIST; BNA_API int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType); abc.cpp (DLL File) int BanknoteType(SP_CIMNOTETYPELIST *sp_BankNoteType) { LPWFSCIMNOTETYPE fw_notetypedata; LPWFSCIMNOTETYPELIST lpNoteTypeList; //output param hResult = WFSGetInfo