From 8f233e6350d2b2714f8a391a695b79b3446b9dfe Mon Sep 17 00:00:00 2001 From: Govert van Drimmelen Date: Thu, 30 May 2019 12:51:13 +0200 Subject: [PATCH] Fix 64-bit declaration for sqlite3_backup_init Pointed out by @jikosan in #2 --- Source/SQLite3VBAModules/Sqlite3_64.bas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/SQLite3VBAModules/Sqlite3_64.bas b/Source/SQLite3VBAModules/Sqlite3_64.bas index 9a08ce1..e500842 100644 --- a/Source/SQLite3VBAModules/Sqlite3_64.bas +++ b/Source/SQLite3VBAModules/Sqlite3_64.bas @@ -179,7 +179,7 @@ Private Declare PtrSafe Function sqlite3_clear_bindings Lib "SQLite3" (ByVal hSt 'Backup Private Declare PtrSafe Function sqlite3_sleep Lib "SQLite3" (ByVal msToSleep As Long) As Long -Private Declare PtrSafe Function sqlite3_backup_init Lib "SQLite3" (ByVal hDbDest As LongPtr, ByVal zDestName As LongPtr, ByVal hDbSource As LongPtr, ByVal zSourceName As LongPtr) As Long +Private Declare PtrSafe Function sqlite3_backup_init Lib "SQLite3" (ByVal hDbDest As LongPtr, ByVal zDestName As LongPtr, ByVal hDbSource As LongPtr, ByVal zSourceName As LongPtr) As LongPtr Private Declare PtrSafe Function sqlite3_backup_step Lib "SQLite3" (ByVal hBackup As LongPtr, ByVal nPage As Long) As Long Private Declare PtrSafe Function sqlite3_backup_finish Lib "SQLite3" (ByVal hBackup As LongPtr) As Long Private Declare PtrSafe Function sqlite3_backup_remaining Lib "SQLite3" (ByVal hBackup As LongPtr) As Long