Re: Problem in calling function of the loadable bundle!!!
Re: Problem in calling function of the loadable bundle!!!
- Subject: Re: Problem in calling function of the loadable bundle!!!
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 27 Apr 2005 16:44:26 +0100
On 4/27/05, Jenis Shah <email@hidden> wrote:
> CFURLRef bundleURL;
> CFBundleRef myBundle;
> // Make a CFURLRef from the CFString representation of the
> // bundle's path.
> bundleURL = CFURLCreateWithFileSystemPath(
> kCFAllocatorDefault,
> CFSTR("/bundles/MyBundle.bundle"), //where
> "/bundles/MyBundle.bundle" is a path
> kCFURLPOSIXPathStyle,
> true );
Are you sure that /bundles/MyBundle.bundle is a valid path?
> // Make a bundle instance using the URLRef.
> myBundle = CFBundleCreate( kCFAllocatorDefault, bundleURL );
Are you sure that myBundle is not NULL?
> But I am not able to call the function.
Are you sure you even get to the function call?
> I am able to create the bundle successfully.
How are you creating this bundle?
> But while calling the function of it I got the error saying "Program exited
> due to Signal 10 ( SIGBUS )".
What is causing this crash, according to the debugger?
> Waiting for the reply....
Nobody is obliged to reply to you, so presumptions like this can be
considered rude.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden