OK, thanks. I've really figured that out - function should return PChar, not 
string.
I'm writing an replacement for closed-source component (also written in 
Pascal), and using disassembler because of that. This component 
intercommunicate with two others, loadable library (on one side) written in 
Pascal and application (on other side) written in C#, both are closed-source.
Anyway, thanks for help!
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to