Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Contextual Menu Plugin in 64-bit world
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Contextual Menu Plugin in 64-bit world



Hi,

I'm trying to upgrade my software to support 64 bits for the future.

Part of my soft is a Contextual Menu Plugin developed on the standard SampleCFPlugin code base. For the moment I'm targetting Leopard, so Snow Leopard is out of scope for now.

I've been able to build a 64 bits version of the plugin, since I don't use any of the deprecated functions there.
I've also built a sample 32/64 bits universal Cocoa application to display the plugin, for debugging purposes. My CMP is not necessarily targeting the Finder, so I can (and need) to have it working in any 64 bits application.


Here are the results:
- 32 bits application shows the 32 bits Contextual Menu, ok
- 32 bits application doesn't show the 64 bits Contextual Menu (expected) and shows an error message in the Console when trying to load the bundle (wrong architecture, entry function not found)
- but the disturbing result is that the 64 bits application doesn't even try to load the 64 bits plugin... It doesn't even call the entry function declared in the Info.plist...



So the question: is the mechanism for loading a 64 bits CFPlugin Contextual Menu in a 64 bits application still working; or did the mechanism completely change (new UUID for 64 bit CMP ? )?
In this case, is this documented somewhere ?



Thanks for any help


-- Stephane Madrau _______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: 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 © 2011 Apple Inc. All rights reserved.