[futurebasic] Re: [FB] Private Frameworks with FB5

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Sat, 7 Nov 2009 14:25:05 +1300
I wrote:
> Dave Warker wrote:
>
>> Does anyone know how to include a private framework in a  
>> FutureBasic 5 project?

> I don't think anyone has attempted to include a framework in an FB5  
> build. Try along these lines.
>
> [1] Tell FB5 to put Foo.framework inside the app, at <app_name>/ 
> Contents/Resources/.
> include resources "Foo.framework"
>
> [2] Get the function pointers as you do currently.
> dim as pointer  gBar
> gBar = fn MyGetFuncPointer( "Bar" ) // or whatever


See FB_5_4_1_Examples > Text > SpellCheck, in which  
GetFuncPointerFromBundle() is used to access functions from a bundle  
in the app's Resources directory.

Robert P.