Re: Porting SetupComm function in Mac

2008-11-03 Thread Rakesh Singhal
Hi Chris Ya there should be one list for porting to and from windows. I have one more query but I will put in darwin-dev now. I have gone through this document already. Thanks and regards rksinghal On Mon, Nov 3, 2008 at 1:08 PM, Chris Ridd [EMAIL PROTECTED] wrote: On 3 Nov 2008, at 07:25,

Re: Porting SetupComm function in Mac

2008-11-03 Thread Sean McBride
On 11/3/08 12:55 PM, Rakesh Singhal said: This API setups some communication parameters for communication devie. Here I am writing library for serial port. If you want to do serial port communication in a Mac app, I strongly suggest you take a look at AMSerialPort:

Porting SetupComm function in Mac

2008-11-02 Thread Rakesh Singhal
Hi all I am porting a project from Windows (using Win32 APIs) to Mac OS. There is following function, for which I am no finding any equivalent fucntion in Mac. Actually I could not find these parameters in termios structure. BOOL WINAPI SetupComm ( HANLDE hFile, DWORD devInQueue, DWORD

Re: Porting SetupComm function in Mac

2008-11-02 Thread Chris Ridd
On 3 Nov 2008, at 07:25, Rakesh Singhal wrote: This API setups some communication parameters for communication devie. Here I am writing library for serial port. There are some more APIs, which I am not able to understand liek following: CreateEvent(0,true,false,0);