×
Namespaces

Variants
Actions

Using CFBsBitmap in an own (non-UI) process

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Compatibility
Platform(s): S60 platform
Series 80 platform
Article
Created: User:Technical writer 1 (07 Apr 2005)
Last edited: hamishwillee (30 May 2013)

Overview

Using CFBsBitmap in an own (non-UI) process

Description

CFbsBitmap gives KErrCouldNotConnect errors in, for example, an own server implementation.

Solution

CFbsBitmap requires connection to the font and bitmap server, which must be done manually in own processes, for example, server implementations.
One solution is to connect to RWsSession, which connects to the font and bitmap server. Usually server implementations do not and cannot use the UI directly, so RWsSession is not desired.
A connection to the font and bitmap server can be made with RFbsSession::Connect(), and when shutting down, a call to RFbsSession::Disconnect() should be made.

This page was last modified on 30 May 2013, at 07:36.
40 page views in the last 30 days.