1
Answer

How to use DllImport?

Ask a question
Tom

Tom

17y
2.1k
1
Hello there! I have a problem with a dll library (c++) that I would like to use in my c sharp application. There is a definition of a structure: * struct _InterpMorf { * int p, k; // number of start node and end node * char *forma, // segment (token) * *haslo, // lemma * *interp; // morphosyntactic tag * }; where haslo, and interp are "indicatiors" to _InterpMorf structures (it's a tree architecture) and there is a definition of a function that returns the _InterpMorf instance: InterpMorf *morfeusz_analyse(char *tekst); And I don't know how to handle this struct (pointers) and cast (?) them to proper class. Please help me

Answers (1)