Calling Carbon Bundle
Calling Carbon Bundle
- Subject: Calling Carbon Bundle
- From: "Anthony Cheung" <email@hidden>
- Date: Mon, 31 Mar 2003 18:33:21 +0800
Dear all,
I have written an application in cocoa environment. I would like to call a
carbon bundle in my application. I have tried the following code
NSString *bundlePath;
NSURL *bundleURL = nil;
bundlePath = [tmpPath stringByAppendingPathComponent:@"MyCarbon.bundle"];
bundleURL = [NSURL fileURLWithPath:bundlePath];
cfBundle = CFBundleCreate(kCFAllocatorDefault, (CFURLRef)bundleURL);
where in the header file I declared
CFBundleRef cfBundle;
I have debugged that code but cfBundle is still nil. In addition, during the
debug, I have set a breakpoint in cfBundle = .. line, the debug pointer looks
like skip the that.
I have also tried to use CFPlugIn instead of CFBundle but the result is the
same.
Would you please tell me what I have done wrong.
Many thanks to your help.
Regards,
Anthony Cheung
---------------------------------------------
Analyst Programmer
Compose System Ltd.
Tel : (+852) 2811 4228
Fax : (+852) 2811 2263
www.compose.com.hk
_______________________________________________
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.