I have a singleton class thet has a function A^ A::Instance();
I'm trying to pass this to an EventHandler as an object and I get the folowing error
Error 4 error C2664: 'System::EventHandler::Invoke' : cannot convert parameter 1 from 'A^(__clrcall *)(void)' to 'System::Object ^'
for example I have an event
public event EventHandler TestEvent
and then I'm trying to call TestEvent(A::Instance, nullptr);
View Complete Post