title: Why does a pointer change itself during function transition?
body: <p>In the following case I'm calling a <code>Func</code> with pointer passed to it, but in the called function, the parameter shows the pointer value as something totally bogus. Something like below.</p>
  
  <pre><code>bool flag = Func(pfspara);--&gt; pfspara = 0x0091d910 
  
  bool Func(PFSPARA pfspara) --&gt; pfspara = 0x00000005
  {
      return false;
  }
  </code></pre>
  
  <p>Why does <code>pfspara</code> change to some bogus pointer? I can't reproduce the problem in debug, only in production.</p>
  
  <p>Thanks.</p>