I'm writing an application that runs as a system daemon (root session) for Mac OSX 10.6. As part of this application, I need to list all the active graphical login sessions.
There is an (undocumented, but public) function called SessionGetInfo which will give me more information about a session with a known session Id, but I need a func...
I just bought a new MacBook Pro which comes with Snow Leopard 10.6.2 (Mac OS X 10.6.2). I am used to using XAMPP as my local development server on XP. Since Mac OS X is based on Unix, I was thinking on activating/installing all the necessary stuff as I would normally do on Linux. However, I am not quite ready to be playing around with th...
Is it possible to make sure the package can only be installed from mountable drive?
If pkg is launched from mounted drive then the installation should be success and if the pkg is lunched from fixed drives then the installation should not success(should put up custome error message).
I have tried with script which return -1 if the laun...
I want to use the following code to login to a website which returns its cookie information in the following manner:
Set-Cookie: 19231234
Set-Cookie: u2am1342340
Set-Cookie: owwjera
I'm using the following code to log in to the site, but the print statement at the end doesn't output anything about "set-cookie".
On Snow leopard, the li...
With all the normal Apple updates applied (I.E. No additional effort has been made by the customer to install a particular version of Java), what versions of Java are available for the Tiger, Leopard and Snow Leopard versions of Mac OS X? If it also depends on the hardware 32bit/64bit could you please include this information.
Thank you...
I got Snow Leopard 64 bit, and I'm wondering how I am to install JOGL in order to develop with Eclipse.
A nice tut from A-Z would have been nice, since I'm suspecting some of my steps are very wrong.
...
I've written an open-source c++ application and it works fine on Windows and Linux, I finally got a Mac Mini (with 10.5.8) so I've just been testing the Mac version.
My application works fine when running it from inside a terminal window and typing ./appname , but if instead I double click on it from the finder, then it opens a termnial...
Hi
I'm writing a bash script which needs to convert a string to lowercase. The problem is I'm doing it on a mac so 'tr' is not available. How can I go about doing this on a mac?
The problem I'm trying to tackle is that my script needs to recognize an if an extension is a .gif or a .jpg - and I don't want to have to check for .jpeg, .jP...
Hi, as a Mac outsider it seems that two popular programming languages on the Mac appear to be Objective C and Ruby.
From what I understand the main API Cocoa seems to be written in and optimized for Objective C, but it is also possible to use Ruby for that.
Are there different areas where each language is ideal, for example, I could im...
Hi all
I am trying to develop a Sagari plugin using SIMBL. I need to detect the page load event in order to block some website.
I started from a PithHelmet 0.7.2. source code (http://www.culater.net/software/PithHelmet/PithHelmet.php).
My plugin works fine in Leopard, but i have this error in snow leopard (the plugin is already compiled...
Are there any tools that can be used on a Mac to support manually executed tests? I have a number of tests that I'm executing manually and which I'm currently documenting using merely a plain text file. "Tools" can be interpreted rather loosely here, anything that's a step up from the plain text file would be useful: a template for some ...
I have created a Combo box using HIComboBoxCreate(). When I have a long string in the dropdown list, it goes beyond the screen and the starting of the string is not visible. I want the string to be truncated with ellipsis in such a case. I have looked into the ComboBox attributes but couldn't find any that I can use to set this. I'm read...
In MS Excel 2007 on PC you can connect to a MS Analysis Services Cube via Excel.
But I can't see how to do the same on Mac using Excel 2008 there.
Does anyone know how to access the OLAP cube data on MAC?
Thanks,
Jan
...
Does anyone knows a web application security scanner for mac and easy to install?
...
Hi,
I'm trying to create a xcdatamodel for my applicationa and I wanted to know how I could design the schedule timing with the course...to be more clear, I'm going to allow users to enter the day of the week and the start time and end time their course is on. and users can add as many courses. Can someone provide me with the best solu...
I'm trying to access it in my AppDelegate by doing this
Course *rootController = (Course *)[navigationController tabcontroller];
but it won't work doesnt seem to get the "Course" root controller.
Thanks
...
Hi all,
I have a question about Shark-profiling on mac.
Say if I have a C-program, compiled with:
gcc -o mycprog mycprog.c -g -pg
and also I have a shell script something like:
for file in ($SomeDirectory)
do
mycprog $file
done
I need to profile the average performance for all files in $SomeDirectory.
Where should I put the ...
When I do PHP, I use XAMPP to set up a development environment on Windows, then upload to Linux servers, works very well.
I'm now passing on a PHP project to a person who has a Mac so he needs a local PHP dev environment. I noticed XAMPP has a version for Mac which I will recommend.
But knowing that Mac is always a bit different, has a...
Do you know of software like MS Visual Studio for Mac ?
...
Hello, I am trying to use CFNetwork in my app so I tried adding CFNetwork.framework from the Edit Target dialog in Xcode.
The interesting thing is that CFNetwork is not visible in the dialog box at all.
Am I missing anything? Do I have to add/install CFNetwork in some other way?
Screenshot -
Thanks in advance.
...