Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > porting to macos x?

porting to macos x?
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2000
Status: Offline
Reply With Quote
Dec 21, 2000, 06:44 AM
 
ok, this is what we have a pc game, opengl, directx networking, c++ reality engine.

porting:
opengl - no brainer
directx networking - need to replace it with bsd sockets (have to work on pc to get the two versions compatible..)
c++ - how hard is it to port c++? to either carbon but preferably cocoa.

please help out!

the easier it is the more likely you will see this game on macos x.
     
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Dec 25, 2000, 11:38 AM
 
I'm kind of new to Objective-C and Cocoa but from what I've seen I think that you'll want to use Carbon if you are porting something with a lot of C++ code in it. If you wanted to make it Cocoa you'd have to rewrite all of your classes and stuff. Cocoa is 100% backwards compatible with regular C, but is not compatible at all with C++. Stuff like the new and delete operators just don't exist and a lot of stuff is done differently. I think that your best bet would be to Carbonize your program. That way you'd have a lot less to rewrite.
     
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Dec 25, 2000, 11:39 AM
 
Oops! Double post.

[This message has been edited by Dalgo (edited 12-26-2000).]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2