thanks - ok, let's try it by C++ code. I've compiled the example app LocationLandmarksRefAppForS60 from N97 SDK v1.0. I've changed the code so that each time the application is starting the landmark database is initialized:
When I start the application I found that indeed the application is trying to initialize the database "Database initializing..." but the progress bar is then hanging at approx 99%. I've found in the application and in the library that
// if (iDb.IsInitializingNeeded())
// Create initialize operation
CPosLmOperation* operation = iDb.InitializeL();
iObserver = aObserver;
iActiveOperation = EInitializeDb;
iStatus = KRequestPending;
// Start asynchronous initialization
TBool reportProgress = ETrue;
iLmOpWrapper->StartOperation(operation, iStatus, reportProgress);
is used for initializing, but this doesn't seem to work. Is there another way?
One addition: Also when I try to delete the complete default database by
it doesn't work - instead, I get the error message "already in use" also when no application is running on the N97.