I have created a little extension function that I would like to load into my
Qt program, so I am using the function load_extension, but it always returns
false.  I am currently hard coding the path:

    QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
    db.setDatabaseName(systemDB);
    QSqlQuery query(db);
    bool result = query.exec("load_extension(\'C:\\{development
path}\\PromenadeSqlite3\\Debug\\PromenadeSqlite3.dll\')");

So what I am doing wrong?

Sam
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to