DIRECT SCREEN ACCESS

Login to reply to this topic.
Mon, 2003-05-05 09:30
Joined: 2003-04-15
Forum posts: 10
i found few or nothing on direct screen access , i suppose it is the best method to access the screen while writing a video codec , so , i try some code like :

   TPckgBuf<TScreenInfoV01> info;
   TUint16 *screenBase;
   UserSvr::ScreenInfo(info);   

   TInt sWidth = info().iScreenSize.iWidth;
   TInt sHeight = info().iScreenSize.iHeight;
    TBool isValid = info().iScreenAddressValid;

Starting from the CONSOLE HELLO WORLD epoc example (the one provided with series60 sdk) , but i always getting a FALSE when calling iScreenAddressValid and can't understand why.
Does anyone knows how to make a direct screen access correctly from an application?
Does the type of application affect the results of screen access?

tHAnKs  Evil

Mon, 2003-05-05 11:32
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2009
DIRECT SCREEN ACCESS
Did you try from an APP rather from an EXE file ?

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Mon, 2003-05-05 12:02
Anonymous (not verified)
Forum posts: 2043
DIRECT SCREEN ACCESS
Quote from: eric
Did you try from an APP rather from an EXE file ?

wath is the difference? i'm using it within microsoft VC++ 6 and emulator..my app class is a cpp file with a single LOCAL_C void doExampleL() function.Maybe should try it in a more complex Framework like the ones generated by the wizard?

Thanks For Your reply.
 Cheezy
Mon, 2003-05-05 14:42
Joined: 2003-04-01
Forum posts: 37
DIRECT SCREEN ACCESS
you can not get the screen address in wins emulator in this way

ouseka

Mon, 2003-06-02 15:19
dg (not verified)
Forum posts: 2043
Maybe this will help
Tue, 2003-06-24 23:14
Joined: 2003-06-24
Forum posts: 1
DIRECT SCREEN ACCESS
  • Login to reply to this topic.