cannot fake a managed callback from c++ (cannot cast from 'void (GenFlowcacheTests::\*)(int)' to 'void(\*)(int)' via static_cast)

前端 未结 0 997
暗喜
暗喜 2021-01-02 03:15

I define a pointer to a managed function with:

typedef void(__stdcall* CounterCallback)(int count);

then I\'ll define a c++ method:

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题