• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
bug in AddressBook Framework headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in AddressBook Framework headers


  • Subject: bug in AddressBook Framework headers
  • From: Karl Kuehn <email@hidden>
  • Date: Sat, 15 Feb 2003 18:12:29 -0500

I have found a bug in the AddressBook Framework headers. It seems all of the kAB labels for instant messaging are defined either as kABICQHomeLabel or kABICQWorkLabel. As the Addressbook is able to distinguish between the different types, my guess is that the header files are just screwed up.
I have upgraded to 10.2.4, so there is a possibility of a mis-match in my headers that could be causing this problem. But I was wondering if anyone has a better idea, or a solution for me. I am including a trivial program demonstrating the problem. On my system I get "this is a problem".
If I am correct in my assessment, anyone know how I could get the correct headers? And where should I then report this? I would really like to keep going on this project... and this is a roadblock for part of the project.

Karl Kuehn
email@hidden

#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>
#include <stdio.h>

int main (int argc, const char * argv[]) {
if ([kABMSNHomeLabel compare:kABICQHomeLabel] == NSOrderedSame) {
printf("this is a problem\n");
}
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: bug in AddressBook Framework headers
      • From: Henri Lamiraux <email@hidden>
    • Re: bug in AddressBook Framework headers
      • From: Vince DeMarco <email@hidden>
  • Prev by Date: Get path to user preference folder, problem solved!
  • Next by Date: Hello
  • Previous by thread: RE: Get path to user preference folder, problem solved!
  • Next by thread: Re: bug in AddressBook Framework headers
  • Index(es):
    • Date
    • Thread