Intel Mac -> Many Warnings (deprecated functions)
hey everyone.
I'm still working on a game in Carbon, and I recently upgraded my computer to an Intel iMac. I was under the impression that my code was already "universal," but compiling my code resulted in 40 warnings. Anyways, all my future projects will be in Cocoa, and my plan is to ignore the warnings. There doesn't seem to be an actual problem when executing the application.
I'm still working on a game in Carbon, and I recently upgraded my computer to an Intel iMac. I was under the impression that my code was already "universal," but compiling my code resulted in 40 warnings. Anyways, all my future projects will be in Cocoa, and my plan is to ignore the warnings. There doesn't seem to be an actual problem when executing the application.
You should use the functions provided by CFString and CFNumber.
"When you dream, there are no rules..."
These functions are deprecated in 10.4, even on PowerPC. You won't see the warnings unless you tell Xcode that your minimum required OS is 10.4, though, which is the default on Intel ('cos there is no 10.3), but not on PowerPC.
You can continue to use these functions, but won't be able to build a 64-bit binary if you do.
You can continue to use these functions, but won't be able to build a 64-bit binary if you do.
For hiding and showing the cursor, you want the CoreGraphics calls:
http://developer.apple.com/technotes/tn/...#Section10
-Jon
Code:
CGDisplayErr CGDisplayHideCursor(
CGDirectDisplayID display);
CGDisplayErr CGDisplayShowCursor(
CGDirectDisplayID display);-Jon
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| New Space Simulator - light speed functions | gooncorp | 3 | 5,026 |
Jan 2, 2013 12:52 AM Last Post: NikG |
|
| Some quick help getting started with certain Carbon functions | zmwworm | 12 | 7,021 |
Jan 10, 2008 01:14 AM Last Post: zmwworm |
|
| Arrays or variables containing executable functions | Jones | 4 | 3,752 |
Jun 2, 2006 08:35 AM Last Post: Zekaric |
|
| Struct based functions | Jones | 9 | 4,499 |
May 9, 2006 02:37 PM Last Post: Zekaric |
|
| Using OpenGL 1.5 functions | ermitgilsukaru | 8 | 6,034 |
Nov 14, 2005 08:41 PM Last Post: ermitgilsukaru |
|

