Silverfrost Forums

Welcome to our forums

Calling routines in a Win32 C/C++ DLL from FTN95 .NET

5 Sep 2004 6:01 #18

To call routines in a DLL created from C/C++ code (or any code with the 'cdecl' calling convention) from FTN95 you must declare them using C_EXTERNAL. For more information on C_EXTERNAL declarations, please see the 'Win32 platform → Mixed language programming → Calling C/C++ from FTN95' section in the FTN95 Users Guide.

When linking your FTN95 source code using dbk_link you must reference the DLL using the /r switch. See the '.NET platform → .NET Programming → Using the linker from a command line' for more information on the /r switch.

You should now be able to call the routines in the usual way.


-- Admin Silverfrost Limited
This forum is locked.