Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mac > BOOK: Beginning Mac OS X Programming
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Mac OS X Programming
This is the forum to discuss the Wrox book Beginning Mac OS X Programming by Michael Trent, Drew McCormack; ISBN: 9780764573996
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Mac OS X Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 31st, 2006, 03:18 PM
Registered User
 
Join Date: Aug 2005
Location: Crest Hill, IL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Universal Binaries

When I tried to run the Chapter 1 Slide Show program on an Intel iMac all I got was a blank window. I assume this is because the program was compiled for a Power PC Mac. Hence what should I change in the source code and my procedure for compiling the source code so the program will run on an Intel iMac?

Howard
  #2 (permalink)  
Old February 1st, 2006, 08:04 AM
Authorized User
 
Join Date: Aug 2005
Location: La Charité-sur-Loire, , France.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Isn't it well? Isn't it the third point of the "Try It Yourself"? Even if your app is for PPC, Rosetta should can run it. `can you acces the "Slide Show => Add Slide" menu item?

FJ
  #3 (permalink)  
Old February 1st, 2006, 02:02 PM
Registered User
 
Join Date: Aug 2005
Location: Crest Hill, IL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

One, When I try to run the application all I get is a blank window. The blank window title is "untitled" and there is no menu bar.
Two, I have been disappointed twice by Rosetta. Rosetta wouldn't run this application and I couldn't install a Logitech Control Panel for a two button mouse.
Three, when I tried to compile the slide show program I get a bootstrap_register() failed and a failed to name Mach Port error messages.

I can see now I will need to spend a lot more time debugging this slide show program so it will run on an Intel iMac. I was hoping somebody had a quick answer. There appears to be a lot more subtle problems in getting a program to run on either a PowerPC or an Intel iMac, Universal Binaries, than what the reviews of iMacs led me to believe.
  #4 (permalink)  
Old February 14th, 2006, 12:32 AM
Registered User
 
Join Date: Aug 2005
Location: Crest Hill, IL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am completely confused now. I can not repeat the problem I had 2 weeks ago and Slide Master runs as advertised. Most likely my problems were caused 100% by operator error. I certainly can't blame my problems on incompatibilities between the book code and an Intel iMac.

Howard

  #5 (permalink)  
Old February 24th, 2006, 11:20 AM
Wrox Author
 
Join Date: Nov 2005
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm glad to hear things are working now. I don't have access to an intel mac at the moment and can't speculate as to what might have gone wrong. I agree that the application should run just fine under Rosetta.

In fact, I can't think of any trouble you might get into on an intel Mac. Even the Carbon chapter should work fine.

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web part as universal data provider tesicg ASP.NET 2.0 Professional 0 September 26th, 2007 09:57 AM
Universal Translation in BizTalk2004 karjagis Biztalk 0 April 21st, 2006 10:00 AM
Universal Real-Time oscilloscope GUI library brnstin Other Programming Languages 0 December 30th, 2005 05:25 AM
Save universal date format einarhansen Classic ASP Databases 2 November 26th, 2003 05:58 AM



All times are GMT -4. The time now is 11:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.