Re: Plugins work in PB, but not in standalone
Re: Plugins work in PB, but not in standalone
- Subject: Re: Plugins work in PB, but not in standalone
- From: Kevin Wojniak <email@hidden>
- Date: Wed, 29 Oct 2003 08:33:23 -0500
I've NSLog-ed it and when I run it as a standalone app, it finds the
plugins that I want to use in the built-in plugins path, but when I go
and call [plugin principleClass] that returns null, but when I run it
from PB it returns the plugin class and works fine. So I know it's not
a problem with the file path stuff since it does fine the plugins.
Got any suggestions?
Kevin
On Wednesday, October 29, 2003, at 06:05 AM, Stiphane Sudre wrote:
What kind of file path scheme are you using for your plug-ins?
On Wednesday, October 29, 2003, at 01:08 AM, Kevin Wojniak wrote:
OK I just finished writing my app so it now uses plugins and it works
all fine and dandy when I build and run it in Project Builder. But if
I open it from the Finder (or Dock), it doesn't load any plugins. The
call for principleClass returns null.
Inside each plugin I have a nib that is loaded and the NSView inside
it is inserted into an NSTabView as it's own item, and then each
plugin returns an image that is used in the toolbar for my window.
This all works in PB but not as normal app. Can someone PLEASE help
me I'm getting very frustrated.
Thanks,
Kevin
_______________
"The Mac is truly a Plug & Play system. The PC - well - it's a little
more like Plug & Pray."
www.kainjow.com
aim: kainjow1
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.