×

Discussion Board

Results 1 to 4 of 4

Thread: About RMessage2

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Lightbulb About RMessage2

    in my client, I sent the request like below:

    TPckg<TTime> data(aTime);
    TIpcArgs args(&data);

    SendReceive(ETimeServSetAlarm,args,aStatus);

    and in my server, I got the request:

    TTime time;
    TPckg<TTime> des(time);
    aMessage.ReadL(0,des);

    but the problem is the time I sent is difference with I got in my server, why?

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: About RMessage2

    Most probably scope issues. Make your local variable(s) static (ie. class member)

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    20

    Re: About RMessage2

    I used a stack variable, so it got a wrong value.

    Thanks.

  4. #4
    Nokia Developer Champion
    Join Date
    Oct 2006
    Location
    Bangalore, India
    Posts
    1,572

    Re: About RMessage2

    So is the problem solved ? !!
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. RMessage and RMessage2 on EKA2
    By stenlik in forum Symbian
    Replies: 0
    Last Post: 2006-10-30, 08:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×