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: QCPlugIn loadPlugInAtPath: vs. Library/Graphics/Quartz Composer Plug-Ins



On Oct 31, 2007, at 10:45 PM, Christopher Wright wrote:

I've found (with the unofficial API, so it might not be the case here) that if you call your loadPlugInAtPath method _before_ any QC code, your plugins get priority (they get registered first) -- This means before you create a composition or load it or anything.  Also, I don't know if it's exported through the Official PlugIn API, but there may be a method to unload old versions so your new ones will register.

Thanks.  I tried loading them in main before NSApplicationMain:

int main(int argc, char *argv[])
{
    loadPlugInsFromBundle();
    return NSApplicationMain(argc,  (const char **) argv);
}

It's still not early enough.  I still get the warning in the log and [QCPlugIn loadPlugInAtPath:] still returns false.

<rdar://557359>

-Marc

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

This email sent to 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.