Yes, in case of network use or a transaction.
The ideal is that Ado funcion would work with MySql, mssql, acess, etc as the rest of your great ado funcions.
Function copiaseguridad()
Local oFWCon
cBackupFile := "c:\dlyma\copia.sql"
oFWCon := mysql_Connect(oCnEmp) // conectado con ADO
oFWCon:Backup( nil , cBackUpFile )
Return nil
Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_MYSQL_CONNECT' referenced from C:\FIVEDIT\R32_EMPR.OBJ
Error: Unable to perform link
Link Error
Application
===========
Path and name: C:\dlyma\dlyma.exe (32 bits)
Size: 6,932,992 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20190613)
FiveWin version: FWH 19.09
C compiler version: Borland/Embarcadero C++ 7.3 (32-bit)
Windows version: 6.2, Build 9200
Time from start: 0 hours 0 mins 9 secs
Error occurred at: 16/11/2020, 08:58:21
Error description: Error BASE/1004 Class: 'NIL' has no exported method: BACKUP
Args:
[ 1] = U
[ 2] = U
[ 3] = C c:\dlyma\copia.sql
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 54 guests