?
Solved

Comm Toolbox and Carbon?

Posted on 2001-06-22
5
Medium Priority
?
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 500 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

719 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