Hi,
I'm building a shared library with f-no-rtti. Internally, this library throws std:invalid_argument and catches std::exception, but the catch clause is never entered.
The following code reproduces the problem (g++ 4.2, Mac OS X 10.6):
// library.cpp: exports f(), compiled with -fno-rtti
#include <stdexcept>
#include <iostream>
exte...
I'm trying to figure out a way to restore (Put Back) Trash Item using ScriptingBridge via PyObjC.
There isn't enough documentation here
from AppKit import NSURL
from ScriptingBridge import SBApplication
targetfile = NSURL.fileURLWithPath_(f.realpath)
finder = SBApplication.applicationWithBundleIdentifier_("com.apple.Finder")
trash_ite...
I am building a Rails 2.3.5 application using Ruby 1.8.7. My development platform is a MacBook Pro running Snow Leopard 10.6.4. Often during development I can not shut down mongrel using the Ctrl-C command in Terminal. It does work sometimes but 8 times out of 10 it does not work. I do not think the Ctrl-C failure is linked to any partic...
Here's my setup
Mac OSX 10.6
VIM (default version that comes with OSX 10.6)
rails.vim (installed in .vim/autoload)
ir_black.vim (installed in .vim/colors)
i have "colorscheme ir_black" and "syn on" in ~/.vimrc
Now when I go into terminal and edit a ruby file with vim my colors are messed up. There are only a few colors showing up and...
Can someone tell me why Mac has a better-looking screen compared to other OSes? I mainly use Windows and sometimes use Linux, but I have noticed that the pixel quality in Mac is noticably better - bright, crisp images. Is it an aspect of their monitor or graphics API? If it is just the monitor, I could try to find a better one for my com...
I've just gotten a report from a user that a new build of my app crashes on his machine when he tries to launch it. The crash report is:
Process: MyApp [222]
Path: /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier: com.MyCompany.MyAppAppAndImporter
Version: ??? (???)
Code Type: X86-64 (Native...
Hi,
I am trying to add language to my installation.
I changed the language in info.plist to Spanish, it let me choose the Spanish in the license part and it it changed the buttons language but in the next page it returns to English.
Also the langugae in the left side: "introduction, license ..." is all the time English.
I also tried to...
Hi,
I am just getting started again with Mac development.
I am using CoreMIDI which is a C API which allows me to define a C callback function to be called from the MIDI server on a separate thread whenever a MIDI message arrives. The registration of this callback is done in Objective-C/C code triggered by an awakeFromNib call.
It see...
Hi,
I need to display the file system in the NSBrowser. Please provide with some sample examples.
OR is there any other way to take path as input from the users.
URGENT plz.
Thanx a lot
...
Is there a software for mac os X 10.6.4 that that converts PDF to HTML ?
...
Hi just wondering how do you start writing programs for MAC OS X?
what language does it use? can I use objective C? which IDE do I use? any licensing fee should I know about.
Thanks.
...
Happy Monday to you all!
Here is my situation. Any assistance greatly appreciated!
I have created an executable that when installed gets placed in the Launch Agents folder of the machine. In theory it should run perpetually, collecting data every second. It can stop when the machine is asleep, but restart when the computer is reactivat...
I know menuextras are controlled by SystemUIServer. My question is what process controls the entire menubar, including accepting and displaying app menus on the left side?
...
Hello,
This is sort of related to a previous, yet so far unsuccessful question of mine. I have a daemon that is placed in the LaunchAgents folder (on Mac) and it should run perpetually in the background, but after a couple of days it just stops for no apparent reason. I have no idea why and thus my question:
What are the reasons that a...
I want to call a API function from a daemon process on mac OS X.
...
"TLD-first domain-like identifiers" is a mouthful but that's all I can come up with.
I've seen these used in various places over the years and wondered what the history/reason behind this convention is, since you might be forgiven in thinking that there is one true way to mention a domain.
I don't use Java but I recall from poking arou...
Hello fellow computer people :)
I have a shell script that I will use as a watchdog timer. It checks to see if my other 'main' program is running. If it is not, it restarts it.
The question is: How do I get this installed on a Mac? Is there a folder/plist file scenario somewhere where the OS will automatically and periodically call the...
Hello everyone!
I'm trying to create a plist for the LaunchAgents folder that will run perpetually and call a shell script every 30 seconds. It started with a template that I got here and that I tried to tailor to fit my needs, but it's still not working. Any help?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple...
I had a look here: http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
Every solution is for IE on Windows. I am using Firefox on Mac. Is there a way to click on OK of a JavaScript alert box?
...
I'm writing an app for OS X (in REALbasic, not Objective-C). I have implemented a source list (i.e. the sidebar in iTunes) in this app.
Where on my system can I find the "standard" icons used on a sidebar, i.e: things like the "eject" and "battery" icon seen in iTunes when your iPod is plugged in. I've checked the iTunes package conten...