Namespaces

Variants
Actions

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.

如何在没有UI的进程中使用CFbsBitmap

From Wiki
Jump to: navigation, search
Article Metadata

文章
huwell 在 29 Jun 2007 创建
最后由 hamishwillee 在 15 Dec 2011 编辑
  • 开发伙伴平台: 60系列开发平台 80系列开发平台


  • 详细描述

CFbsBitmap在一个自己完成的服务中给出KErrCouldNotConnect错误。


  • 解决方案

CFbsBitmap需要连接到字体和位图服务上,在自己的进程中必须手工来完成这些操作。如你所说的自己的服务。


一个解决方法是连接到RWsSession,它负责联系到字体和位图服务。通常服务中并不需要也不能直接使用UI,所以RWsSession不是我们在这里所能使用的。


另一种方法连接字体和位图服务的方法是使用RFbsSession::Connect(),当关闭操作时,我们需要调用RFbsSession:Disconnect().

This page was last modified on 15 December 2011, at 10:12.
62 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.

×