LIBRARY MYSQLMOBILE.DLL
EXPORTS
mysql_connect @1 ; mysql_connect
mysql_disconnect @2 ; mysql_disconnect
mysql_execute_query @3 ; mysql_execute_query
mysql_get_data @4 ; mysql_get_data
mysql_get_field @5 ; mysql_get_field
mysql_get_fieldcount @6 ; mysql_get_fieldcount
mysql_get_last_error @7 ; mysql_get_last_error
mysql_get_last_insert_id @8 ; mysql_get_last_insert_id
mysql_get_last_servermessage @9 ; mysql_get_last_servermessage
mysql_get_rowcount @10 ; mysql_get_rowcount
mysql_select_db @11 ; mysql_select_db
#include "FWCE.ch"
function Main()
local nRet := MySQL_Connect( "192.168.0.30", 3306, "username", "password" )
MsgInfo( nRet )
return nil
#pragma BEGINDUMP
int mysql_connect( char * host, int iPort, char * username, char * password );
#include <hbapi.h>
HB_FUNC( MYSQL_CONNECT )
{
hb_retnl( mysql_connect( hb_parc( 1 ), hb_parnl( 2 ), hb_parc( 3 ), hb_parc( 4 ) ) );
}
#pragma ENDDUMP
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 6 guests