Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 2.96 KB

File metadata and controls

22 lines (19 loc) · 2.96 KB

Connecting the Dart language with others

Description

This example repository shows how to combine Dart with other languages such as C ++, Pascal and others.

SetUp

  • Install Visual Studio 2019 >= 16.8 Preview 3
  • Add environment PATH c:\Program Files (x86)\Microsoft Visual Studio\.. VERSION ..\MSBuild\Current\Bin
  • CMake >= v3.7
  • Install Embracodero RAD Studio Community (x64) >= 10.3
  • Add environment PATH C:\Program Files (x86)\Embarcadero\Studio\.. VERSION ..\bin\
Example bin native_libs Description
_01_cxx_lib.dart cxx_lib Basic example
_02_primitives.dart primitives_lib Same as ffi/primitives
_03_struct.dart struct_lib Same as ffi/struct
_04_cxx_class_import.dart cxx_class C++20 Module and Dart import class example
_05_delphi_lib.dart delphi_lib Delphi simple example
_06_delphi_callback.dart delphi_callback Call dart function from delphi
_07_delphi_gui.dart delphi_app Communication between Dart and Delphi gui using sockets image
_08_send_port.dart send_port Send message to Dart ReceivePort from C++