Re: IRowsetFastLoad and nvarchar (1) fields



Thank you, it is now working. SetLength looks like it takes bytes, so I
have to detect Unicode fields and modify the SetLength call accordingly.


Chris.

ci[iii].ulColumnSize should be 1 at this point. (According to
the description of GetColumnInfo).

But does SetLength expect a value in bytes or characters? Since
I can't see that you set the source data type, I can't see that
it could handle anything but bytes.

I have no experience of the consumer templates (which I guess this
is), and I could find no SetLength in the OLE DB reference.
.