Tom

Tom

  • NA
  • 1
  • 0

How to use DllImport?

Jan 4 2007 2:07 PM
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)