Hi all,
I have created Following code to set my screen saver as default screen saver on MAC 10.6 (Snow Leopard). This code is working fine on our systems but when we distribute in installer then it does not set screen saver as default. Is it user permissions issue or some code problem ?the user login currently i am using is admin.
NSS...
Currently, I am trying out OpenMP on XCode 3.2.2 on Snow Leopard:
#include <omp.h>
#include <iostream>
#include <stdio.h>
int main (int argc, char * const argv[]) {
#pragma omp parallel
printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads());
return 0;
}
I didn't include any linking lib...
Hi, I'm trying to port _controlfp( _CW_DEFAULT, 0xffffffff ); from WIN32 to Mac OS X / Intel. I have absolutely no idea how to port this instruction... And you? Thanks!
...
I use a combination of ForkLift and Textmate to edit files on a remote server via FTP. it works really well, except for one little quirk: when I hit save on Textmate, Forklift saves the file, and then Forklift takes the focus. So, every time I hit Save on Textmate, I have to wait for Forklift to save, and then hit Cmd + Tab to return to ...
Just something I'd like to play with, I would like to create a "virtual" file/directory in the File System of Linux or Mac OS X (Not sure if I can share the same code - does POSIX help?), for example /foo and then perform custom code when something is read or written to it.
Similar how /dev/null allows for stuff like
echo "Hello!" > /d...
My google-fu has failed me, and I guess this may be basic OS X/Xcode knowledge but....
When I double click .xcodeproj files, I'm getting the Beta I have installed launching instead of the stable release - which is the one I actually want.
I have tried changing the launch program in the finder info window, but it always displays as "Xc...
Followed the instructions on the Rails wiki and have had success connecting to SQL Server 2000 with TSQL -- both with DSN-less and DNS connections. I'm running Mac OS X 10.6.3.
Wiki instructions here.
Installed ruby-odbc, dbi (0.4.0), dbd-odbc (2.4.5), activerecord-sqlserver-adapter (2.3.5).
In my database.yml (Rails 2.3.6):
develop...
I am writing a simple library using ASIHTTPRequest where I am fetching
URLs in an async manner. My problem is that the main function that I
have written to test my lib exits before the async calls are finished.
I am very new to Obj C and iPhone development, can anyone suggest a
good way to wait before all the requests are finished i...
I tried hard to build QtDeclarative with Qt 4.6.2 on Mac OS X (Leopard) and did lots of Googling without finding any cure. Could anyone please help to solve this problem? Thanks. Here goes the error:
Undefined symbols:
"QObjectPrivate::isSignalConnected(int) const", referenced from:
QmlGraphicsKeysAttachedPrivate::isConnected(ch...
I'm trying to run Selenium RC 1.0.3 using Java 6, JUnit 4, and Eclipse on Snow Leopard.
Here is my test class, from the Selenium docs:
public class TestCase extends SeleneseTestCase {
@Before
public void before() throws Exception {
setUp("http://www.google.com/", "*firefox");
}
@Test
public void test() {
selenium.op...
Hi,
I am having a hard time establishing a connection to my database file using JDBC-ODBC bridge. The driver I am using is sun.jdbc.odbc.JdbcOdbcDriver but I believe it is not present on Mac OSX by default and hence throws an exception for class not found.
I googled for the driver but could not find much useful information. Can somebod...
Hi
I am trying to automate my Chrome extension building process on OSX 10.5.
I am unable to find a similar command for OSX like this for Windows
chrome.exe --pack-extension=c:\myext
--pack-extension-key=c:\myext.pem
Is it even possible on OSX? As there is no mention of it in the documentation.
Please guide me.
Thanks in advanc...
Is it possible to focus a NSWindow by its CGWindowID? And yes, how?
I need to focus a Window of another application, but I have only its CGWindowID and I can only find sample code about retrieving the ID, but not how to focus a Window by its ID.
...
I have write a small helloworld program that needs cocoa framework. I'd like to know how to add framework in cmake. All the information I have found is out-of-date. I have cmake 2.8.1 on snow leopard.
...
i have some problems with linking nasm program for macos:
GLOBAL _start
SEGMENT .text
_start:
mov ax, 5
mov bx, ax
mov [a], ebx
SEGMENT .data
a DW 0
t2 DW 0
fry$ nasm -f elf test.asm
fry$ ld -o test test.o -arch i386
ld: warning: in test.o, file was built for unsupported file format which is not the architecture being l...
I'm compiling a project in XCode where MySQL++ in included and linked to. For some reason, I keep getting the following compiler error:
'assert’ was not declared in this scope
originating from cpool.h, a header file that's part of MySQL++. Does anyone know why this is being triggered?
EDIT: For reference, MySQL++ was installed via M...
I'm using Terminal.app on Mac OS10.6.3, with gnu screen and zsh.
What I want to do is, see pwd(or an URL) in Terminal.app and double click on it, and select the whole path, to copy and paste after that.
But what I get now is a single directory name, because '/' is not treated as a word.
I found that iTerm has a setting to change it(iTe...
I've tried the way that was dictated, but it requires "autotools."
I've installed autotools -- automake auto congiure ... but it still isn't working.
the "./configure" command doesn't do anything.
Make appears to install, but when I tested the exmpp:start(). at the erl prompt nothing happened.
Blockquote
Exmpp uses the Autotools. ...
I simply need to have a notification post when a valid IP address is assigned. I have tried polling via SCReachability, but that seems to be inefficient.
Any suggestions? This seems like it should be simple, but I've been struggling for several hours to get anything working.
...
Hi,
In my Carbon application upon display of Preference Panes, I have a link which when clicked opens up Apple Help Viewer.
The problem I am facing is the Help Viewer Window is behind my preference pane window.
I would like to keep the Help Viewer window on top of the Preference Pane.
Is there any way to get the WindowRef of the Hel...