site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com On Sep 8, 2009, at 9:56 AM, Brian Gardner wrote: What happens when an FxPlug that uses OpenCL is run on an earlier OS that doesn't have OpenCL? And is there a recommended way to test test for that and handle it properly? <http://lists.apple.com/mailman/listinfo/mac-opengl> Darrin -- Darrin Cardani dcardani@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... I believe that the plugin won't load since it has to be linked against the OpenCL framework. If you want to handle loading OpenCL conditionally yourself, there's probably a way to do that. I know that at one time I wrote a plugin that had to work on OS 9 and OS X, and under OS X, I would manually load the Core Graphics library using CFBundleLoadExecutable () (I think), and then load individual function pointers using CFBundleGetFunctionPointerForName (). I'm not sure if that's the modern way of doing things or not, though. You might ask on the mac- opengl list how best to handle that. You can add yourself to the list here: This email sent to site_archiver@lists.apple.com