I am using sqlite 3 component wrapper classes for database(sqlite) connection in windows8.1. without using background task I am able to fetch data from sqlite, I am getting callback(row). but with background task whenever I am trying to fetch data from database I am not getting any callback(Row) in my sqlite3JS file. I debug c++ classes then I realized with background task dispatcher is null that's the reason I am not getting callback(row). even I used global dispatcher Windows::ApplicationModel::Core::CoreApplication::MainView but it seems like callback always expect Windows::UI::Core::DispatchedHandler which is not working with background task and I also tried with nullptr dispatcher, In case I am simply calling callback(row) but this is not working for me and I tried to @Tommck solution for background task but for me no luck. Please guys help me out .
Thanks in advance for your help.
Aucun commentaire:
Enregistrer un commentaire