lamle's Profile User Rating: -----

Reputation: 0 Apprentice
New Members
Active Posts:
3 (0 per day)
03-January 13
Profile Views:
Last Active:
User is offline Jan 06 2013 03:05 AM

Previous Fields

Dream Kudos:
Icon   lamle has not set their status

Posts I've Made

  1. In Topic: Pointer to a local variable

    Posted 6 Jan 2013

    Thank guys for helping.
    I suspected the wrong cause of the problem, there was no problem doing the mentioned way except that it uses additional unnecessary memory (the pointer).
    The problem was because of another thread writing to the same memory location and overriding its value.
  2. In Topic: Pointer to a local variable

    Posted 3 Jan 2013

    Hi JackOfAllTrades,
    Thank you for quick reply.

    [code](do everything with pinstance)[code]

    this part just basically sets value for members of struct A (excluding id), nothing more.

    I used pointer to the local variable for convenience reason with other part of the code. Now it is like that and I am wondering what was the cause of the problem that the value of pinstance->id has changed.

    Can it be that the address of instance is changed at some point and pinstance keeps pointing to the old address?

My Information

Member Title:
New D.I.C Head
Age Unknown
Birthday Unknown

Contact Information

Click here to e-mail me


lamle hasn't added any friends yet.


lamle has no profile comments yet. Why not say hello?