Archive for February, 2006

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.

Comments off

Email to Polhemus

I sent this email to Polhemus in an attempt to discover how I can programatically measure the hardware. Updated 2006.02.28
Read the rest of this entry »

Comments off

Polhemus Prototype 1

I’ve written my first ActiveX control to demonstrate the Polhemus Patriot. ActiveX controls (MFC) are a strange mishmash of C++, Preprocessor templates, and Visual Studio IDE configurations. I made a silly and short (10sec, 104k) video of the toolbar widget that I designed. The main goal was just to get the polhemus to render its output to an application. The ActiveX control is in C++ and is being hosted by a C# application. I’ve collected a few notes and ideas in this post.
Read the rest of this entry »

Comments off

« Previous entries · Next entries »