Hello, I've looked to DNET-172. The PtrToStringUni cannot be used, it returns wrong result. In fact the string from library is ansi, but the method widens the string into unicode. So even that the message from server is unicode (but read as ansi) it's widened to unicode (again).
Problem is, that for i.e. win1250 it works fine, so some quick'n'dirty conversion isn't good. Do you have any idea how to solve this? Do there conditional conversion? ... -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider