Greetings,

I was recently asked how to go about working with the Window-Eyes Application 
object in C#, so I thought I'd share the answer here in case you're interested. 
The easiest way to work with the Window-Eyes COM interface through .NET is to 
create an Interop DLL from the wineyes.tlb file. You can do that using the 
TmpImp utility that ships with the .NET framework. If you don't want to mess 
with that, you can download the Window-Eyes 9.0 SDK from the App Central 
Developer's page. It now includes a Window-Eyes Interop DLL for use with .NET.

Once you've download and extracted the DLL somewhere, create a reference to it 
in your .NET project. Once you do that, you'll be able to create a Window-Eyes 
Application object by doing:

WindowEyes.Application weapp = new WindowEyes.Application();

Enjoy!

Aaron

--
Aaron Smith
Web Development * App Development * Product Support Specialist
Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * www.aisquared.com

To insure that you receive proper support, please include all past 
correspondence (where applicable), and any relevant information pertinent to 
your situation when submitting a problem report to the Ai Squared Technical 
Support Team.

Reply via email to