C callable library

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

C callable library

Krishna-33
Hi all,

Is FPC ready for writing libraries callable from C/C++ on Win32 and Linux?

Cheers,
Krishna

--
You think you know when you learn, are more
sure when you can write, even more when you
can teach, but certain when you can program
 - Alan Perlis
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: C callable library

Florian Klämpfl
Krishna wrote:
> Hi all,
>
> Is FPC ready for writing libraries callable from C/C++ on Win32 and Linux?
>

Yes.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: C callable library

L505

> Krishna wrote:
> > Hi all,
> >
> > Is FPC ready for writing libraries callable from C/C++ on Win32 and Linux?
> >
>
> Yes.

Just that C++ objects aren't compatible, since the implementation of object orientation is
slightly/majorly different between languages so you would have to use mainly procedural
code and simple symbols if interfacing with/from C++.

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal