Op Thu, 17 Nov 2005, schreef Daniël Mantione:

> > > E.g. accessing mysql is now done with pchar(ansistring)
> > 
> > And they should be replaced by what?
> 
> Pchar(Tnativestring(widestring_variable));

Apparently I got too little sleep or something tonight :) It would be 
this:

Pchar(ansistring(wide_string_variable));

If the RTL would then be compiled without a {$define unicode} the 
ansistring() would be a dummy.

Daniël
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to