Yes, I'm trying to build a small DB, but it seems to be as you say.CSAUER wrote:You are right. The actual Beta of PB for Mac is not working with the latest code. It should not be a problem of the SQLite-include, it should be PB for Mac in general.
I can open the library (see the code)
Code: Select all
sqlite3DLL = OpenLibrary(0, "/usr/lib/libsqlite3.dylib")
If sqlite3DLL
Debug "Lib reachable, Nr: "+Str(sqlite3DLL)
sqlite3_libversion = GetFunction(sqlite3DLL, "sqlite3_version")
Debug sqlite3_libversion
If sqlite3_libversion = 0
Debug "no function 'libversion'"
Else
Debug "function 'libversion' reachable"
EndIf
sqlite3_open = GetFunction(sqlite3DLL, "sqlite3_open")
Debug sqlite_open
EndIf
Or is my code wrong? Anything missing? I don't think so.