Implement CreateAnonymousThread with BCC32.
September 13, 2017
Author: h.mohri
C++Builder 10.2 BCC32 can not write lambda. So write an implementation in Invoke() with TCppInterfacedObject.
struct T_thread_proc : TCppInterfacedObject{
TNotifyEvent f_ev_;
struct T_sync_proc : TCppInterfacedObject{
TNotifyEvent f_ev_;
T_sync_proc(TNotifyEvent& ev2){ f_ev_ = ev2; }
virtual void __fastcall Invoke() {
//Inside…




