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