Solved

Comm Toolbox and Carbon?

Posted on 2001-06-22
5
322 Views
Last Modified: 2013-12-26
How does one send simple serial data using built in serial ports from a carbon application?  I need to send and receive RS-232c Serial data from my carbonized application, but I understand the Communications toolbox is unsupported under carbon?  If this is true, how does one send/receive serial data other than the ridiculous complexity of open transport?  I need code example on how to identify the ports, open one and set it's com specs (baud, bits, parity, etc.), send data aynchronously and receive data asynchronously.  This used to be fairly simple with Comm Toolbox but what do you do with carbon.  Can you make comm toolbox calls from carbon app under MacOS 9.x?  I don't need it yet under MacOS X, besides MacOS X provides a new way to serial I/O, I think.
0
Comment
Question by:paulsat
  • 3
5 Comments
 
LVL 1

Expert Comment

by:mudface061200
ID: 6241386
I am sorry I don't know your answer.  But I highly suggest that if you are doing any developement whether it's Cocoa or Carbon getting on the mailing lists.  There is a Carbon development mailing list you can find it at:  http://lists.apple.com/mailman/listinfo

I'm sure someone there can answer your question.

Good luck.
Matt
0
 
LVL 1

Expert Comment

by:mudface061200
ID: 6345764
what is the status with this question?
0
 

Author Comment

by:paulsat
ID: 6353664
I have not gotten an answer yet, the mailing lists suggested by mudface have not revealed anything useful yet.  I am still hoping someone can answer this we some example code.
0
 
LVL 1

Expert Comment

by:mudface061200
ID: 6354599
So you have posted your question to the mailing list?
0
 

Accepted Solution

by:
teeselink earned 250 total points
ID: 6408544
If you don't care about macosX at all you can just use the old way of doing things (open transport or comm toolbox) you just have to trick the compiler into letting you use the non carbon headers. Probably the easiest way is to put all of your comm toolbox calls into a seperate shared library that is not carbon, and import that shared library into your project (you can then create a OSX version later and decide at runtime which to load).
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 119
Expand to include initial dialog with two choices. 9 76
sum67 challenge 35 97
building a service to accessed via telnet client, want colors ? 4 88
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now