error in CCamera->StartViewFinderDirectL( )

Login to reply to this topic.
Mon, 2007-09-24 13:11
Joined: 2007-05-15
Forum posts: 85

Hi Dear friends,
Can any one tell what is the problem here:

Tect aScreenRect=iAppView->Rect();
aScreenRect.Shrink(10,10);

iCamera->StartViewFinderDirectL(CCoeEnv::Static()->WsSession(),CCoeEnv::Static()->
ScreenDevice(),*iAppView->DrawableWindow(), aScreenRect);---//this line gives error

I get error as:---

'CCamera::StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &, TRect &)' (non-static)

'CCamera::StartViewFinderDirectL(RWsSession &, CWsScreenDevice &, RWindowBase &, TRect &)' (non-static)

function call '[CCamera].StartViewFinderDirectL({lval} RWsSession, CWsScreenDevice *, {lval} RDrawableWindow, {lval} TRect)' does not match


Mon, 2007-09-24 13:22
Joined: 2007-05-15
Forum posts: 85
Re: error in CCamera->StartViewFinderDirectL( )

error solved using
*CCoeEnv::Static()->ScreenDevice()

in place of
CCoeEnv::Static()->ScreenDevice()

Thanx...........

Wed, 2007-10-17 09:45
Joined: 2007-08-29
Forum posts: 1
Re: error in CCamera->StartViewFinderDirectL( )

thank you.

Sun, 2007-10-21 06:25
Joined: 2007-05-15
Forum posts: 85
Re: error in CCamera->StartViewFinderDirectL( )

welcome

  • Login to reply to this topic.