AttachEventHandler Visual C++, Phidget 21.NET

C, C++, and Visual C++
kenar
Fresh meat
Posts: 1
Joined: Mon Feb 25, 2013 8:10 pm
Contact:

AttachEventHandler Visual C++, Phidget 21.NET

Postby kenar » Mon Feb 25, 2013 11:04 pm

Hello.

Does anybody know the correct way to use the API defined AttachEventHandler Delegate from Visual C++?

I tried the following syntax but it seems to be incorrect:

InterfaceKit^ ifKit = gcnew InterfaceKit;
ifKit->Attach += gcnew AttachEventHandler(ifKit_Attach);

I would appreciate any hint.

Thanks.

Kenar

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 0 guests