FB II Compiler

PG PRO

Debugging

Memory

System

Mathematics

Resources

Disk I/O

Windows

Controls

Menus

Mouse

Keyboard

Text

Fonts

Drawing

Sound

Clipboard

Printing

Communication

ASM

Made with FB

FB II COMPILER

Call 68K DCOD with FB^3


I haven't used Choosefolder DCOD but here is my code for calling the QDFx DCOD. The parms used to call QDFx are undoubtedly different from Choosefolder but the method is the same. I've included the call under FB2 and FB3 so you have a basis for comparison. Mark, I hope the comment for the FB^3 CALL addresses your question about the Procptr.
==== Using FB2 =====
CALL "DCOD",2000,result%,(fxNum%,gw&,@dRect,@dRect,sz,dLay%,dir%,callBk&)

==== Using FB^3 ====
CALL "DCOD",2000                     'loads gFBCode& with address of DCOD
_uFnParams = _Pascalstk_rtnWord_p1Word_p2Long_p3Long_p4Long_p5Word_p6Word_p7Word_p8Long
result% = UNIVERSALFN(gFBCode&,_uFnParams,fxNum%,gw&,@dRect,@dRect,sz%,dLay%,dir%,callBk&)
Brian