Compilar con Harbour

Compilar con Harbour

Postby Compuin » Fri Jun 17, 2016 2:51 pm

Saludos foros

Que diferencia existe entre compilar con este codigo

{
MYSQL *mysql = ( MYSQL *) _parnl( 1 );

_retl( !mysql_real_query( mysql, "Rollback", 8 ) );
}


Y el mismo de esta forma

{
int iret = 1;
MYSQL * hMysql = ( MYSQL * )hb_MYSQL_par( 1 );

if( hMysql )
iret = ( int )mysql_rollback( hMysql );
else
hb_errRT_BASE( EG_ARG, 2020, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );

hb_retni( iret );
}


Gracias de antemano
FWH 20.12
Hbmk2 32/64 Bits (Build 19.29.30133)
Microsoft Visual C 32 Bits
MySql 8.0.24 32/64 Bits
VS Code
Compuin
 
Posts: 1214
Joined: Tue Dec 28, 2010 1:29 pm
Location: Quebec, Canada

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: cmsoft, Google [Bot] and 52 guests