Skip to content

Tag Archives: Quick Symbian Factoid

Quick Symbian Factoid #8 : Fix for USER-EXEC 3 panic.

14-May-12

USER-EXEC 3 will be caused by an unhandled exception. This exception should be trapped to figure out the type of the exception and also fix the exception-causing code. The following code can be used as an exception handler which then logs the exception type to the file and then exits. And to install the exception […]

Quick Symbian Factoid #7 : Symbian pkg major, minor & build number limits.

08-May-12

The Symbian native application sis package file(.pkg) describes the installation information like app name, install path and install files. It also lets the developer specify the application version. The version is specifed as a part of the standard header. Below is one such example: As you must have noticed & probably know the last three […]

Quick Symbian Factoid #6 : Browsercontrol history navigation throws “Requested object is used by another application(-14)”.

03-Mar-12

I am using the S60 Browser control to load some local html content. So while the loading was going through fine, the history navigation(returning back to previous page after link navigation) was throwing the error “Requested object is used by another application(-14)”. Searching the forums and the internet did not turn up any help

Quick Symbian Factoid #5 : Fix for DBMS-TABLE 14 panic.

08-Sep-11

This panic is caused by calling successive commits on a single transaction or calling a commit when no transaction has taken place. So the offending code would look something like this : The PutL function will perform the db operation like insert or update and then perform a commit as well. Hence the Commit() call […]

Quick Symbian Factoid #4 : Loading local html file using S60 BrowserControl.

06-Sep-11

I had been looking around for a small code snippet to add the S60 Browser control to the app view to display a local html file. So here is the code that worked for me. Don’t forget to add the browser control to the parent control’s ComponentControl() and CountComponentControls() functions. Also the local html file […]

Quick Symbian Factoid #2 : Fix for Des16Align 18 panic.

25-Aug-11

You would generally get a Des16Align 18 panic when executing a Format function and especially when you are too tired to issue may seem as big as a mountain. This is caused as the Format function expects a pointer, but when a object is passed by value then the Des16Align panic occurs. Example code : […]

Quick Symbian Factoid #1 :Fix for KErrNotSupported on RDbNamedDatabase::CreateTable.

24-Aug-11

From today I am starting a series of small code snippets or error information that I face in day-to-day Symbian C++ programming. I was trying to create a database using RDbNamedDatabase::CreateTable. I have used this function quite some times, but for some unknown reasons it was leaving with KErrNotSupported(-5). The code snippet that was causing […]