Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPlugin loading question



Ken,

On May 20, 2006, at 11:52 AM, Ken Tozier wrote:

I rewrote the Cocoa plugin and the Carbon plugin loader and can get a valid bundle but the "CFBundleGetFunctionPointerForName" function isn't finding my init method. Calling CFBundleIsExecutableLoaded after CFBundleGetFunctionPointerForName shows that the bundle executable was indeed loaded, but for some reason it's not giving me the function pointer.

I think you need to explicitly call CFBundleLoadExecutable before you try to call CFBundleGetFunctionPointerForName.


You also need to make sure that the MyPluginInitialize symbol is exported.

Jack

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >CFPlugin loading question (From: Ken Tozier <email@hidden>)
 >Re: CFPlugin loading question (From: Ken Tozier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.