Loading SampleHardWarePlugin problem
Loading SampleHardWarePlugin problem
- Subject: Loading SampleHardWarePlugin problem
- From: sheen mac <email@hidden>
- Date: Thu, 24 Feb 2011 03:30:07 -0800 (PST)
Hi All,
I download the SampleHardwarePlugin code from apple site.Build and copy it into "/Library/Audio/Plug-Ins/HAL/" and try totake it using NSBundle.But I got error in cosole.
Error loading /Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn: dlopen(/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn, 265): no suitable image found. Did find:
/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin/Contents/MacOS/SampleHardwarePlugIn: mach-o, but wrong architecture
The code I used to load isNSBundle *_bundle=[NSBundle bundleWithPath:@"/Library/Audio/Plug-Ins/HAL/SampleHardwarePlugIn.plugin"];
NSLog([[_bundle principalClass] className]);
Kindly Help Me.
Thanks In Advance,Sheen
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden