Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Browser Control interface stops working after delete/reconstruct (Known Issue)

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

An instance of the Browser Control interface class does not work properly after it has been deleted and reconstructed on S60 3rd Edition.

Article Metadata
Platform(s): S60 3rd Edition
S60 3rd Edition (initial release)
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (15 Jun 2012)


When an instance of the Browser Control interface (CBrCtlInterface) is constructed (see CBrCtlInterface::CreateBrowserControlL()), the interface will remain functional until the end of its life cycle. However, if the object is deleted and another one is created in the same session, the Browser Control API stops working. No errors are returned, but Web content will not be rendered onto the parent control anymore.

How to reproduce

This issue can be reproduced with the BrCtlSampleApp example application from the S60 3rd Edition SDK. The example application deletes and reconstructs the CBrCtlInterface object for each test case (whenever the capabilities for browser control are changed).


Add the following line after every CreateBrowserControlL() function call:

This page was last modified on 15 June 2012, at 06:55.
36 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.