How to handle data in TFunc with C++Builder(BCC32)
For example, suppose Delphi side has the following function.
Since bcc64 or bcc32c is based on C++11, lambda can be used.
But, when you use it from BCC32, preparation is a little needed.
You need a class that inherits from
And we need the Invoke() function inside the class.
Pass the above class instance to
We were able to pass the TFunc even BCC32 in the manner described above.
Please login first in order for you to submit comments