(06-23-2023, 06:36 PM)valmeras Wrote: For sure this cannot work for C++ Builder because if the linker cannot find the definition of the callback function declared in the header file, it will generates an error!
Have you read Embarcadero's documentation yet?
How to Handle Delphi Anonymous Methods in C++