nick wrote:
function mt2 (str:string):string;
this file doesn't compile. GPC tells that mt2 redeclaration doesn't match the first one.
The funny thing is that if I add type mystr=string after the "export" line and then change the function to use mystr - everything compile.
That's recommended, aynway. Assuming capacity 255 is only for backward-compatibility to BP (which can't be an issue if you're using modules).
Anyway, this patch will fix the bug (nick2.pas). After applying the patch, you must remove all GPI files and build them again!
Frank