I have a program where for certain code paths, the address book constants (such as kABPersonEmailProperty, kABPersonAddressProperty) evaluate to their normal non-zero value. However, if I follow a different code path, all these constants evaluate to zero.
Furthermore, once I follow the "successful" code path, if I take the problematic code path it works.
Is this some kind of compile linkage issue ?
I could also be over-releasing a variable somewhere.