• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is CFPlugin cross-platform?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is CFPlugin cross-platform?


  • Subject: Is CFPlugin cross-platform?
  • From: Nicola Vitacolonna <email@hidden>
  • Date: Mon, 6 Jun 2005 21:14:55 +0200

Hi,
CFPlugin and CFBundle are part of CF-lite, the open source "light" version of Core Foundation, which has been ported to Linux and Windows. I want to write a cross-platform application that uses plugins. How am I supposed to build a bundle/plugin under non-Darwin platforms? In particular, what is the equivalent of the bundle executable in these platforms? I have built a shared library libMyPlugin.so (in Linux), and have changed Info.plist's CFBundleExecutable to libMyPlugin.so, but when I run the application that loads the plugin I get the following error:


Cannot recognize type of executable for CFBundle/CFPlugin ...

Browsing the CF source code, I've noticed some "BINARY_SUPPORT_DLL" #define's, so I guess that there must be a way to load a shared library. But I can't figure out how. Any hint?

(maybe this question is off-topic here, but I have found absolutely no information on the web)

Best regards
Nicola

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: OT: Survey facing design patterns and communication
  • Next by Date: Named semaphores
  • Previous by thread: OT: Survey facing design patterns and communication
  • Next by thread: NSInstallLinkEditErrorHandlers() does not work in Tiger.
  • Index(es):
    • Date
    • Thread