Re: Using Objective C in a Finder "Contextual Menu plug-in"
Re: Using Objective C in a Finder "Contextual Menu plug-in"
- Subject: Re: Using Objective C in a Finder "Contextual Menu plug-in"
- From: Dirk Stegemann <email@hidden>
- Date: Sun, 21 May 2006 22:15:48 +0200
Hello,
Am 21.05.2006 um 21:52 schrieb Rob Crawford:
Is there a way to use objective-c in a Finder Contextual Menu plug-
in, I know they are written in Carbon,
I write all my CMM plug-ins in Obj-C / Cocoa, and they play nice in
Finder.
and I have the base of my Contextual Menu plug-in working, after
adding some objective-c to the mix, the plug-in still works but
causes the Finder to crash after the menu is released, not even on
the menus I have added.
Are you over-releasing something?
I have tried to create a NSAutoreleasePool in a wrapper function
that makes the objective-c calls.
This is indeed an important thing to do.
I want to reuse the code from the my app so I don't need to rewrite
it.
Not sure what you mean by "reuse the code from the my app", because I
never wrote an app which uses Contextual Menus itself (just some CMM
plug-ins).
Regards,
Dirk Stegemann
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden