I need to ping the system, so that the screen saver never turns on while my application is running. Disabling the screen saver through settings is not an option. Is there a simple call, or s...
I need someone to write me the function "getche()" which can be used on the Mac (i.e. input a key without having to press Return). I can't find console.h on CW. I can't find conio.h. I'm tryin...
I have been looking into one of the excellant JavaScript based scripts (http://tech.tailoredweb.com/rich-textarea-53.php) that implement a Rich Text Editing of a <textarea> and I note that Saf...
I am using the Macromedia xdk 8.5 to develop an xtra that merely returns all the MAC addresses on the system as a string. I have it working however when I call this:
pObj->pValueInterface...
I am using Xcode to develop for Mac OS X. I have created a dynamic library, and I want to specify that the symbols not be exported, unless I specifically mark them to be. As I understand it,...
Is there anyway on a PPC with say GDB as a debugger to invoke the debugger during program execution.
I'm looking for something that acts like a breakpoint set in the debugger and not a comp...
Dear experts,
On the Windows platform I use the following instruction:
ShellExecute(NULL, "open","d:\\kubus\\tool\\win\\lp_xmlconverter.exe",
"libpart2xml c:\\kubus\\test_2.gsm c:\\kubu...
vbFromUnicode vs StringToMemoryBlockMBS
I'm trying to convert a VB6 function using vbFromUnicoe to Realbasic using StringToMemoryBlockMBS.
The original VB6 Code looks like this:
VB6 Co...
I have an iSight that I'm trying to use to learn the basics of computer vision, but the auto-focus and auto-exposure are causing problems. Is there a way to disable these features? I'm using t...
I would like to call my own C/C++ code from Excel X on the mac. I have done this using Win32 for work and can generate DLL's using cygwin/gcc and MSVC. The Excel VBA interface in win32 require...
I am taking a C Programming course and would like to know if there is a "C" Compiler available for the Macintosh. If so, where can I find it? Thanks!
-Bobby Steele
every time I create a new file in xcode it creates its own header:
created by someone at wathever time from whatever company all right reserved..
etc..
Can this be changed?
I mean can ...
I just need to know how to detach from the terminal, I need to write a completely hidden background app with no output except the occasional error log. Maybe a popup window to notify the user,...
I was wondering if there is a easy way to detect mouse double click. I can use clickCount method in NSEvent class but my mouseDown function detects the first click as a single click and then ...
Does anyone know of an applescript that tests for an internet connection? I need one that tests for a connection and then sends you to one of 2 locations based on the determination.
I used to be able to double click on my .psd files and photoshop automatically opened them up. Now, unless I open the files from Photoshop File menu, I am not able to open any of the photoshop...
I was wondering if anyone had any better information on accessing the iSight. I have read what little the developer notes said on "programming the iSight" but this has really left me in the da...
It sounds so trivial, but I just can't figure it out, and I can't find any resources online:
I was to call an AppleScript from the shell, like Terminal, and return a value or a string to th...
Hi Experts,
Any hint to programmatically retrieve the cpu count and usage for each cpu on a darwin system ? I'm doing the same on linux using the /proc filesystem but I have no idea in whic...
I am trying to inline PPC assembler with Codewarrior 10 - but not the way it's normally done with CodeWarrior (without a function call if possible) and cannot figure out how to do it Specifi...
I need to find a unique value inside a mac in c++ in a carbon environment. I have looked at the mac number of the network card but do all mac's have a network card?
If not I need to get the...
I have a unix source which forks right at the start. Xcode continues in parent then... and therefore exits.
Can I somehow debug the client with a GUI?
Hi
I am looking for a way to compile a C++ opengl/glut program to OS X, from a windows platform. Is it possible? Which compiler should I use?
I have currently tested CodeWarrior 5 (which...
With windows I am obviously used to WMI and other things with regards to programming and I know in adverts they always say "Think Different" with regards to macs ( I can obviously now tell tha...
Sorry, this may be painfully simple, but I have no idea where to start. I want to create an applescript to ssh into another machine and run a command. Here's what I have been doing:
ssh use...