[futurebasic] Calling QDFx in FB^3

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

From: Brian Stevens<brilor@...>
Date: Fri, 24 Sep 1999 19:43:30 -0700
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%,dir%,callBk&)

Good luck!

Brian