Hi,
It seems sddodbc.c line #603 should be changed to:
pItem = O_HB_ITEMPUTSTRLEN( NULL, ( O_HB_CHAR * ) val, ( HB_SIZE
) iLen - 1 );
otherwise test1.prg returns chr(0) in the end of every string.
Regards,
Mindaugas
P.S. I see we have some serious problems with mailing list.
lists.
What is the bug?
Brgds,
Viktor
On 2010 Mar 1, at 00:47, Itamar Lins wrote:
> Hi!
> /*
> * $Id: test1.prg 12948 2009-11-20 12:45:41Z vszakats $
> */
>
> #include "hbrddsql.ch"
>
> REQUEST SDDODBC, SQLMIX
>
> PROC main()
> RDDSETDEFAULT( "SQLMIX" )
> SET( _SET_DATEFORMAT, "-mm-dd" )
>
Hi!
/*
* $Id: test1.prg 12948 2009-11-20 12:45:41Z vszakats $
*/
#include "hbrddsql.ch"
REQUEST SDDODBC, SQLMIX
PROC main()
RDDSETDEFAULT( "SQLMIX" )
SET( _SET_DATEFORMAT, "-mm-dd" )
? "Connect:", RDDINFO( RDDI_CONNECT, { "ODBC", "DBQ=" +
hb_DirBase() + "\..\..\..\hbodbc\tests\