In a message dated 8/24/00 9:01:19 AM Eastern Daylight Time, 
[EMAIL PROTECTED] writes:

<< CharPtr a,b;
 
 1.   a = FldGetTextPtr( getObject( form, SecurityConfirmField ));
 
 2.   b = FldGetTextPtr( getObject( form, SecurityPasswordField ));
 
 GetObject gets the pointer for the field, given that:
 
 When line 1 executes, both A and B have what ConfirmField has
 When line 2 executes, both A and B have what PasswordField has
 
 How do you get data from a field, this seems to be working but I don't
 understand how B can equal A when line 1 executes. >>


This sounds like a case where the code has been compiled with optimizations 
turned on, and the optimized code is reusing the address space of variables 
that are no longer being referenced.  You may want to consider turning off 
all optimizations whenever you intend to use the program with the debugger.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to