On Fri, 07 Feb 2014 22:20:05 +0000
[email protected] wrote:
> CFile f;
> f.Open("C:\\producto_1.bmp",CFile::modeRead);
> rs.m_imagen.SetSize(f.GetLength());
> f.Read(rs.m_imagen.GetData(),f.GetLength());
Creo que en algún lugar deberías especificar que se trata de datos binarios.
Ver, por ejemplo:
http://postgresql.1045698.n5.nabble.com/Storing-images-as-BYTEA-or-large-objects-td1896815.html
--
Alberto Cabello Sánchez <[email protected]>
-
Enviado a la lista de correo pgsql-es-ayuda ([email protected])
Para cambiar tu suscripción:
http://www.postgresql.org/mailpref/pgsql-es-ayuda