« Return to Thread: Re: IOCTL using

Re: IOCTL using <ddk/ntddser.h>

by Christopher Faylor-8 :: Rate this Message:

Reply to Author | View in Thread

On Thu, Mar 12, 2009 at 09:33:53AM +0100, Corinna Vinschen wrote:

>On Mar 11 22:57, Bert wrote:
>>When compiled on Cygwin's gcc the code below (which asks the baud rate
>>of a serial port) shows the error "Funtion Not Implemented".
>>
>>I tried several serial port ioctl functions in <ddk/ntddser.h> - all
>>gave the same error.
>>
>>
>>I hope I'm doing something really dumb, any tips?
>
>Yes.  You're mixing POSIX calls with Windows defines.  That's a no-no.
>When you're in Rome, talk like the Romans do.

That would mean either Italian or English.  Computers don't speak those
languages!

Why don't you make Cygwin easier to use?

 « Return to Thread: Re: IOCTL using