• 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
Path of a Lib file???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path of a Lib file???


  • Subject: Path of a Lib file???
  • From: "darpan kamboj" <email@hidden>
  • Date: 6 Aug 2005 12:22:42 -0000

  
 I have to use the following API

extern OSErr FSpCreate(
const FSSpec * spec,
OSType creator,
OSType fileType,
ScriptCode scriptTag )

I have declared the following
FSSpec *spec;
spec->vRefNum=0;
spec->parID=2;
unsigned char filename[64]="Aman";
spec->name=filename;
OSType creator="PTul";
OSType fileType="Sd2f";
ScriptCode scriptTag="smSystemScript";

I have include the path Of "Files.h" in Project Settings--Includepath

There is no error upto this point But when i call the FSpCreate(spec,creator,fileType,scriptTag);
then there is following error :-

ld: form3.o illegal reference to symbol: _FSpCreate defined in indirectly referenced dynamic library /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore

I have to include the CarbonLib 1.0 but this lib file available in more than one folder.Which Path should I have to include? Plz help me.

Thanks and Regards
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Path of a Lib file???
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Reverse engineering
  • Next by Date: Re: Reverse engineering
  • Previous by thread: [Moderator] END OF THREAD Re: Reverse engineering
  • Next by thread: Re: Path of a Lib file???
  • Index(es):
    • Date
    • Thread