Solved

Comm Toolbox and Carbon?

Posted on 2001-06-22
5
329 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bigDiff challenge 17 144
haveThree challenge 22 127
Updating statistics with error notification email in SQL server 4 130
how to use laptop or pad camera in vb.net windows application 2 131
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…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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