12-28-2022, 09:13 PM
(12-28-2022, 05:01 PM)PierceNg Wrote: To get Pascal to work with dwindows on iOS, I had to replicate, in Pascal, some of the C code generated by dw.h's macro expansion of dwmain(), and then also export _dw_main_thread() as an API to be used from Pascal.
For the purpose of building language bindings, C is the lingua franca, so as long as dwindows continues to provide a C API, then, sure, go ahead and use the full power of C++.
Awesome work! Can't wait to see the result.
Yes the C API is not going anywhere, the C++ bindings are just a wrapper around the C API.