[futurebasic] Re: [FB] Calling QDFx in FB^3

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Charlie Dickman <charlied@...>
Date: Fri, 24 Sep 1999 22:51:07 -0400
>If anyone wants to call QDFx in FB^3 it seems to work just fine as follows:
>
>Since there are 8 parms, add these constants to Tlbx Standard.Incl or the
>copy being used.
>_p8None = 0x00000000
>_p8Byte = 0x00100000
>_p8Word = 0x00200000
>_p8Long = 0x00300000
>
>Put this constant somewhere accessible. This is your routine descriptor as
>required by the mixed mode manager.
>_uFnParams =
>_Pascalstk_rtnWord_p1Word_p2Long_p3Long_p4Long_p5Word_p6Word_p7Word_p8Long
>
>
>CALL "DCOD",2000                     'loads gFBCode& with address of QDfx
>result% =
>UNIVERSALFN(gFBCode&,_uFnParams,fxNum%,gw&,@dRect,@dRect,sz%,dLay%,di 
>r%,callBk&)
>
>Good luck!

Thanks Brian! This will prove very useful.

Charlie Dickman
charlied@...