Accessing ViewContext Area from another thread: Possible or Impossible...

Login to reply to this topic.
Thu, 2008-07-03 09:08
Joined: 2008-05-09
Forum posts: 1

Hi All...

I m trying to add text to the ViewContext area of a View derived from CQikViewBase in a seperate thread from the main thread, via a call to

The thread is passed the this pointer to the current view.Using this pointer I m making a call to a non-static member function...Inside this function I m calling :-

ViewContext()->AddTextL(aControlD /* its value is neither 0 nor 1000*/, TDesC& )

when I m executing it, inside AddTextL() ...its giving EExcAccessViolation Exception /*I have put installed the exception handler for this thread*/

I doubt whether we can access ViewContext Area from another thread...Plz anybody can help...reply soon as m fixed with this for more than 3 days now.

  • Login to reply to this topic.