2003
How to know if a tool is installed as part of a specific System package ?
25/10/03 18:59
I need to be sure the tool I want to use from my app is available to any potential end-user… and if not what do they have to install…
More...
More...
How to get core dumps ?
13/10/03 19:01
I have turned on crash reporting but I still don't get my cores ! What's missing ? |
How can I set a breakpoint on a variable?
04/09/03 19:02
Ever had some code where a pointer was overwritten, causing a horrible crash? Here's how you can set a watchpoint in the debugger to find it. |
How do I override system APIs?
03/09/03 19:03
Do you need to detect some special occurence for which the Mac OS doesn't send a notification? Do you have old code that used to employ "trap patching" that you need to port to Mac OS X? Have you checked all existing Cocoa, Carbon and Unix APIs, and none of them provides the solution? Here's a URL to an article that might help. |
How can I create a file next to my Application?
04/08/03 19:07
You have a file that is auto-generated by your application, and you want to put it next to your application, on the user's "Desktop" folder, into the "Documents" folder or some similar place? Here are four reasons why you shouldn't do this, and four suggestions for solutions. |
Is it possible to boot in Console only mode apart of the single user boot mode?
23/07/03 19:08
Can we boot OS X in terminal-only mode ? |
How do I find all those new APIs in the newest MacOS release?
22/07/03 19:09
Just got your hands on that juicy pre-release of MacOS X, and wondering how to find all those new methods and functions and classes when all you have are the framework header files? |
Project Builder complains about precompiled headers?!
21/07/03 19:15
If you get an error like "warning: could not use precompiled header '/System/Library/Frameworks/Carbon.framework/Headers/Carbon.p', because: warning: 'OpenScripting/OpenScripting.h' has different date than in precomp", then very likely your precompiled headers are out of sync with the actual headers and the installed software. This can happen since some of Apple's installers only update the software, but neglect precompiled headers. But fear not, the fix is easy. Just head to your friendly neighborhood Terminal.app and enter "sudo fixPrecomps -force" and MacOS X will try to update all precompiled headers. |
Why are Project Builder Applications so huge?
21/07/03 19:14
Is your application significantly larger than it used to be when it was still a CFM/FreeBSD/whatever application? Even when you're building using the "Deployment" build style? |
Why does my app crash in fwrite()?
21/07/03 19:13
I have random crashes when calling fwrite()… |
Where do I find the Finder Icon for ???-files?
21/07/03 19:12
I want to create a cool icon for my application, where can I find the icons the Finder uses for use as a template? |
How do I give my bundle an icon?
21/07/03 19:11
Is it possible to have a special icon for my bundles and frameworks ? |
How do I hide my app's dock icon?
21/07/03 19:10
I don't want an icon in the dock for my application… |
How open a System Preferences pane?
21/07/03 19:10
This works analogous to how such things were done on System 7: First, use one of the FindFolder() APIs to get an FSRef to the "Preference Panes" folder. In this folder, every preference pane has a corresponding file, which you can open by simply handing it to LSOpenFSRef(). |