MqxM
Denoβ€’7mo agoβ€’
8 replies
Mqx

Best practice for passing Array of Objects from C++ to TS using FFI

Hey, what is the best way to pass an array of objects from C++ via DLL to TS?

We are trying to write a Serial Library and we query a list of available ports and their information. Similar to the serialport.io node library. What would be the best way to pass all the available ports and their information to TS?
Was this page helpful?