[fpc-pascal] Linking FPC units with Visual Studio 2013 projects

Michael Schnell mschnell at lumino.de
Fri Aug 21 09:26:50 CEST 2015


On 08/20/2015 12:27 PM, tobiasgiesen at gmail.com wrote:
> Hello,
>
> I have to compile a few Pascal units with FPC and add them to a Visual
> C++ project.
As the object structure (and supposedly the naming scheme for 
overloaded  functions) is different in fpc and C++ you can't link them 
(neither statically nor dynamically).

You need to do  a "flat" interface between the parts of the project 
using e.,g. STDCALL on either site.

-Michael



More information about the fpc-pascal mailing list