The following code compiles fine when compiling as Mac OSX 10.6 as the active SDK (linked with the 10.5 frameworks, 10.5 set as the base SDK)
IOBluetoothHostController *controller = [IOBluetoothHostController defaultController];
However, if I compile it with Mac OSX 10.5 as the active SDK, I get an error message saying that IOBluetoot...
Hi All,
I am trying to develop a program in Mac OS and Linux which lists the files and folders in USB drive. I need to get the some events when USB device is connected and removed. I know that in Mac OS X I can use IOKit. But I do n't know how to get the mount point where the device is mounted. Can I get it using IOkit? Is there any cro...
I have compiled FreeImage 3.10.0 from source at /lib/FreeImage on Mac OS X 10.6.
I can see that after compilation these files were copied:
/usr/local/lib/libfreeimage-3.10.0.dylib
/usr/local/lib/libfreeimage.a
/usr/local/include/FreeImage.h
CMake cannot find FreeImage, but I cannot even do
#include <FreeImage.h> // not found
I am...
I want to develop applications on mac os x. please suggest me the good book for it.
And good book on Cocoa also. If possible please send me the links of free ebooks on these.
...
What is the difference between carbon and cocoa ? For what type of applications we should use carbon and for what type of applications we should use cocoa ? Which is the best of both for developing applications in Mac OS ?
...
Hello,
I'm trying to make a local high scores board for my app, but with no success till now.
I searched anywhere for a local high score board code but didn't found any.
What is the best why to write such a thing?
If you can please post example code.
Thanks.
...
Hi,
The Session 426 "state of the art cocoa - user interface design" (MAC session) is really helpful.
The title of the code sample used during the session is "Exposure".
I cannot find it in the Mac Dev Center.
Can you say me if the example is available on ADC website?
Thanks.
...
I am using SWFOBJECT to embed my flash content.
I have been worried about stage.stageWidth and stage.stageHeight returning 0 in Firefox/Internet Explorer; this problem is referred to in question #21 on the SWFOBJECT FAQ
(http://code.google.com/p/swfobject/wiki/faq).
I have been told that this problem is particularly prevelant on Mac...
Is it possible to implement a locking effect in a NSPreferencePane that we create? Similar to the lock found in other system preferences panes (such as Energy Saver, etc)
I know that I could create a keychain item and then just have the enabled boolean of the controls bound to something that depends on the user authenticating successful...
For about 3 years my mac could connect to my Ubuntu samba, and randomly it stopped working. I get an error code -36 error and it tells me that it can't connect to it. Weirdly enough, thinking I could just wipe my key chain and re-enter the user/pass (which didn't work), smbclient through the command line connects just fine. I am complete...
I can't get the Ruby interpreter to run on either of my Macs (one MacBook and one MacBook Pro, both running Snow Leopard). When I run it, by typing ruby in Terminal, nothing happens. It just sits there. I can kill it by pressing Ctrl+C, but that's it. I know the Ruby process is running, since I can see it in Activity Monitor, and running...
Hi,
I've been trying to bind keys in zzh on a Mac but am having some trouble. I know I should be Googling this but couldn't find what I need...
I've been trying to bind ctrl-backspace to be an equivalent of ctrl-w, ie delete one word. But I can't find the key code for it. Nothing shows up when I do it with 'read'. I can't find a chart ...
Hi
I have to play an audio file on digital to analog converter (Silverstone digital to analog converter Model number DB01S) on Mac ox x 10.6 with cocoa.
I used USBSimpleExample from apple but i am always getting this error
"dealWithInterface: unable to open interface. ret = e00002c5"
Any help would be appreciated!
Thanks
...
Using putty in windows, you can save sessions that connect to a certain host and use a certain text color...this was super useful for me since I work with a bunch of remote hosts and I'm wondering if there is (there must be) a way to get Terminal (in Snow Leopard) to emulate this behavior.
I'm wondering how I would
1. Save a connection...
I have two aspx pages(A,B) created using ASP.NET MVC . In the file A i have a few check boxes and textboxes.
When i move to page B and try to navigate to page A by pressing the browser back button(in MAC Safari), the page is not getting refreshed . The page retains its old values (for checkboxes and textboxes).
When i had the break po...
Hi All
I am having a problem installing the Python MySQL connector (MySQL-python-1.2.3c1) on my Mac OSX Snow Leopard.
System State
I have manually compiled an installed:
mysql-5.1.41
This seems to work fine, as I can create and query a database from the commandline.
I have compiled:
MySQL-python-1.2.3c1
I first set the following in ...
I have some OLD programs that I'm mantaining. They still use resource files with resource forks, and all that hideousness.
My co-worker uses a 10.3 box that can still run mac classic programs and RezEdit.
I used to use ReSorcerer, but it doesn't seem to work very will in 10.6.
Does anyone have any recommendations for programs to us...
So I just downloaded emacs 23.1 for my new snow leopard macbook pro from http://emacsformacosx.com/ and it works like a charm, except...
I have visual customizations in my .emacs, a few lines are extracted here:
(set-background-color "black")
(set-cursor-color "green")
(set-default-font "--Lucida Console-normal-r-normal-normal-1...
I know the answer is out there, but I'm pretty Unix-dumb and probably wouldn't recognize the solution if it hit me in the face.
I'm on a Mac, connecting to a SVN server via SSH tunneling. I have to ssh-add privateKey.txt every time I want to connect to the SVN server (Both Cornerstone and Xcode are connecting to SVN).
Is there a way...
I'm trying to install MySQL on Mac OS X 10.6. After I download MySQL and untar with tar xzvf mysql-5.1.37.tar.gz I then try and run this configure line:
./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --enable-shared --with-plugins=innobase
I get the error
-ba...