Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2014-07

FPC and C++ Interfaces

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tony Whyman

Does anyone know if it is possible to use an fpc interface type to access an interface exported (as a pointer to the interface) by a C++ program on Linux or Windows or both?

Tony Whyman
MWA

Reply by email

Sven Barth
to Tony Whyman
"Tony Whyman" wrote
Does anyone know if it is possible to use an fpc interface type to access an interface exported (as a pointer to the interface) by a C++ program on Linux or Windows or both?

It should be possible if you use COM interfaces on FPC side and MSVC or Clang/MS-ABI for C++.

Regards,
Sven

Reply by email