[patch_done] ADO - 7.0.0-dev (rev.812)

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

[patch_done] ADO - 7.0.0-dev (rev.812)

Post by aperger »

This patch fixes handling of the Unicode string fields under D2010:

Code: Select all

Index: dbc/ZDbcAdoUtils.pas
===================================================================
--- dbc/ZDbcAdoUtils.pas	(revision 812)
+++ dbc/ZDbcAdoUtils.pas	(working copy)
@@ -286,6 +286,7 @@
 {$ENDIF}
     varStrArg: Result := adWChar;
     varString: Result := adVarChar;
+    varUString: Result := adVarChar;
     varAny: Result := adEmpty;
   else
     Result := adEmpty;
You do not have the required permissions to view the files attached to this post.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

aperger,
I had to add a compiler based IFDEF, but your change has been applied with SVN rev. 815.

Mark
Image
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Post by aperger »

Hi...

Ooohhhh I forgot it... :-)
Post Reply