Re: Help! How to mix win32 and native os calls in code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



jorl17 wrote:

> I wouldn't go that way, but to me it seems that if you _must_ use that
> pathetic alternative, you should separate all OS dependant calls into winelib
> dlls (google it) which you would then load, but only on the corresponding
> operating system, or else (if I got it correctly according to what Vitamin
> said), it won't be able to be run under anything other than Wine. (Correct me
> if wrong, please).
> 
> Why don't you write clean cross-platform code? Maybe using the classic
> good-old #ifdef macro? There are also many good libs out there...

I'll be interested in hearing what you think is a good alternative architecture.
I am basing my work off of the original Windows code. It connects to the COM
interface for NaturallySpeaking and creates an extension in Python so that
grammars can activate methods with or without arguments. The difference from the
Windows version is that you need to be able to manipulate windows/inject
text/change focus etc. on the linux side. It's important to keep latency as low
as possible because it affects recognition accuracy.

Quite frankly, I would like to see a simpler solution because my hands are
broken and I don't have much typing time on daily basis. I'm pushing for better
integration with speech recognition so that I can use more of my system
hands-free and then turn my focus to speech given programming.


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux