Hi.
I trying to use StartViewFinderDirectL but don't know how to get the parameters needed (RWsSession, CWsScreenDevice and RWindowBase).
Currently, I'm trying to get them like this (but it doesn't work):
RWsSession wsSession;
wsSession.Connect();
CWsScreenDevice* wsScreen = new(ELeave) CWsScreenDevice(wsSession);
wsScreen->Construct();
RWindowGroup wsWindowGroup = RWindowGroup(wsSession);
wsWindowGroup.Construct((TUint32)this);
RWindow aWindow = RWindow(wsSession);
aWindow.Construct(wsWindowGroup, (TUint32)this); <--- crash here!
aWindow.Activate();
Any tips of what's wrong?
Thanks in advance!