Hi everyone,
I've recently ported Papyrus (SBHS) from 2nd FP3 SDK to 3rd.
After several days of debugging, changing the MMP, RSS file, localization files, updating the code, I've finally managed to run my application on the emulator.
However,
It crashes somewhere in the beginning of the app with a "STORE-store 2" panic code even though I'm not even using TStreamId().
It crashes at this point:
PapyrusDB::PapyrusDB()
{
//Nothing to implement here move along
}
Has anyone any idea as to why this is happenning?
Before creating this class, I create various classes and they work. Alongside I create a class of type CBase (Settings) and pass it to the Papyrus creation:
in iSetting's constructor I have these lines:Code:Papyrus = PapyrusDB::NewL(iSettings);
That works fine.Code:iFileServerSession.Connect(); #if defined(__WINS__) //Importent for the emulator to save in C... fullName.Replace(0,1,_L("c")); iFileServerSession.MkDirAll(fullName); ... CFileStore* store = CDirectFileStore::OpenLC (iFileServerSession, fullName, EFileRead); // Open the data stream inside the store RStoreReadStream stream; stream.OpenLC(*store, store->Root()); // Read all the data TInt err; TRAP(err,ShowMiniList = stream.ReadInt32L()); if(err != KErrNone) { ShowMiniList = ETrue; } TRAP(err,CurrSelectedView = stream.ReadInt32L()); #endif
However,
For the above lines, do I need to define a CAPABILITY other than NONE?
Would this work (as it does) with CAPABILITY set to NONE?
If the debugger works over these lines, but crahses later, can THIS be the cause?
Thanks!!!

Reply With Quote

