- Speech recognition is done by a ThirdParty OutProc COM server.
- Our application is in C#.
- Another application (not developed by us) is written in Java.
The end user wants to take our application as an "assistive technology".
The JavaAccessBridge (a product of Sun/Oracle: http://docs.oracle.com/javase/accessbridge/2.0.2/title.htm[^]) is a terrific product. When you do the DllImport, you have to differentiate whether you are running on a 32 bit OS, or a 32bit application on a 64 bit OS or a 64bit application on a 64bit OS - yes, three cases! While "AccessibleContext" is an IntPtr on 32 bit OS, it is an Int64 on 64bit OS regardless of a 32bit or 64bit application. Yeah, also that's a mess. We will need to versions - one for 64bit OS and one for 32bit OS - despite the fact that our program will always be a 32bit program.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DDEthel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett