Re: [us...@lists.monobjc.net] DllImport paths

2010-03-17 Thread Laurent Etiemble
Hello, If you only want to load the framework (to register some classes), you can use the ObjectiveCRuntime.LoadFramework method. It is able to pick private framework within an application bundle. If you want to access a function within the private framework, then you have to use the

Re: [us...@lists.monobjc.net] DllImport paths

2010-03-17 Thread anthony taranto
Laurent, Ah, I'd used @executable_path in a dll.config, it hadn't occurred to me that it could also be passed to DllImportAttribute. If I switch my DllImport parameter to use @executable_path/../..., I can successfully call the unmanaged methods when running my application as a standalone app