04-23-2021, 07:54 AM
Hello,
is there a simple example how to use callback functions whithin c++.
I think it’s more complex to define as in the delphi example.
I tried this:
void TfrmMain::myCallbackMethod(TStringList *slList)
{
// some Code
}
void __fastcall TfrmMain::headerRightButtonClick(TObject *Sender)
{
WebApplication->RegisterCallBack("MyCallback", &myCallbackMethod);
}
but it doesn’t compile.
Any hints?
is there a simple example how to use callback functions whithin c++.
I think it’s more complex to define as in the delphi example.
I tried this:
void TfrmMain::myCallbackMethod(TStringList *slList)
{
// some Code
}
void __fastcall TfrmMain::headerRightButtonClick(TObject *Sender)
{
WebApplication->RegisterCallBack("MyCallback", &myCallbackMethod);
}
but it doesn’t compile.
Any hints?