Discussion Board

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Registered User asadi.alireza's Avatar
    Join Date
    Oct 2010
    Posts
    37
    Quote Originally Posted by vineet.jain View Post
    May be User::WaitForRequest(aStatus); is blocking the thread for any further operation which also includes the Drawing of the label.
    and do you recommand any solution on this matter? :(

  2. #17
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,834
    So is there any event on which you need to change the label ? if yes the you can first wait for the completion/detection of the event & then perform the Drawing operation. But i think putting the User::WaitForRequest(aStatus); would surely block the whole thread.Either you can separate this listening part in another thread.
    Do Remember to Search for your query on Google/Forum Wiki& DiBo , it really saves your time & You get your queries answered(in most of the cases) before posting them on Dibo itself. :)

  3. #18
    Registered User asadi.alireza's Avatar
    Join Date
    Oct 2010
    Posts
    37
    Quote Originally Posted by vineet.jain View Post
    So is there any event on which you need to change the label ? if yes the you can first wait for the completion/detection of the event & then perform the Drawing operation. But i think putting the User::WaitForRequest(aStatus); would surely block the whole thread.Either you can separate this listening part in another thread.
    Thanks for your reply,
    would you please gimme a simple code which implement your comment?

  4. #19
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,834
    Well the best approach in my opinion is to implement an active object for listening to sockets.SInce they are non blocking you can easily then continue with other things in your application while the active object waits for the request completion. You can refer to this thread for more info:

    http://wiki.forum.nokia.com/index.ph...he_sockets_API

    especially the section Using active objects in sockets code
    Do Remember to Search for your query on Google/Forum Wiki& DiBo , it really saves your time & You get your queries answered(in most of the cases) before posting them on Dibo itself. :)

  5. #20
    Registered User asadi.alireza's Avatar
    Join Date
    Oct 2010
    Posts
    37
    Quote Originally Posted by vineet.jain View Post
    Well the best approach in my opinion is to implement an active object for listening to sockets.SInce they are non blocking you can easily then continue with other things in your application while the active object waits for the request completion. You can refer to this thread for more info:

    http://wiki.forum.nokia.com/index.ph...he_sockets_API

    especially the section Using active objects in sockets code
    thanks mate

Page 2 of 2 FirstFirst 12

Similar Threads

  1. SetTextL problem
    By joteddy123 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-03-24, 12:27
  2. How to use SetTextL() in CAknSettingItemList
    By saheb04 in forum Symbian C++
    Replies: 2
    Last Post: 2007-09-20, 06:24
  3. EEikEdwinUserSuppliedText and SetTextL
    By jbylund in forum Symbian User Interface
    Replies: 1
    Last Post: 2005-10-05, 03:23
  4. SetTextL() on target
    By yaront in forum Symbian User Interface
    Replies: 0
    Last Post: 2005-01-24, 19:46
  5. SetTextL()
    By jesusdol in forum Symbian User Interface
    Replies: 1
    Last Post: 2004-01-27, 18:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved