Emitting custom events from ActiveX to C#
I just finished a first run of getting a windows message event from the polhemus library and then relaying it to the C# application. It’s pretty simple if you use the Visual Studio interface. Here’s a Microsoft page about emitting custom events in ActiveX. Then here’s a google groups discussion about responding to the events from your C# application. This is an excellent discovery because now I don’t have to munge the software architecture by adding a windows service. I’ll be able to handle it all in a single application using my C++ ActiveX component.
Permalink Comments off