As I understand it this should produce a filepointer to the filepath of the attached database, given the database handle of file the other database was attached to and the database name of the attached database. I checked all the return values and also did a select involving tables in both databases and all goes fine, so I can be sure that the other database is attached OK. All I get from sqlite3_db_filename is zero, so no valid file pointer. No error messages though.
I am accessing sqlite3.dll (Windows 7) via a std_call dll as I am working in VBA here. Any suggestions what could be the problem? I am running 3.8.11.1 RBS