QA

   

Q&A

Q1:

What's the difference between events in managed code and events in native C++ code?

A1:

The only difference you have to worry about is changing the event_source parameter from managed to native. The rest is handled internally within the injected source code.

Q2:

Can I create an event receiver in C# that handles events fired from a C++ event source?

A2:

As long as the event source is created using managed C++, you can. You should, however, ensure that any event parameters use .NET data types rather than regular C++ data types, as was used this hour.


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net