Hej!
importuję w ten sposób:
[DllImport("mfplm232.dll")]
private static extern int mfParMessage(int code, string groupMsg, string detailMsg);
orginalna deklaracja funkcji w c++:
int mfParMessage( int code, char *groupMsg, char *detailMsg );
jednak po wywołaniu funkcji: er = mfParMessage(pom, groupMsg, detailMsg);
nie zwraca ona rezultatu, mimo iż wykonuje się bez błedu, wywolana w c++ zwraca wartosci w parametrach groupMsg i detailMsg a w c# nie. Dlaczego?
Proszę o pomoc
nowicjusz