| Thread | Last Post | Replies |
|
| Weird behaviour checking LaunchServices | 31 Jan 2004 22:47 GMT | 2 |
I coded a little check for the availability of LaunchServices in a standard Carbon app, as per Apple's TN2017 (there doesn't seem to be a Gestalt check for this). The following is from a freshly created CodeWarrior 9 C Carbon Toolbox stationery project. The only thing
|
| Get 'icl8' icon | 31 Jan 2004 18:46 GMT | 2 |
I need to get the 'icl8' icon from a Mac OS X .icns file. The code I use is as follows: CFStringRef thePath = CFSTR("/Applications/Internet Explorer.app"); theAppURLRef = CFURLCreateWithFileSystemPath(kCFAllocatorDefault,
|
| MachO: relocation offset is out of range | 30 Jan 2004 19:09 GMT | 1 |
When linking our large (~27 MB) MachO application in debug mode we get the following error: Error : relocation offset for address 01007A08 in object '___keymgr_dwarf2_register_sections' is out of range
|
| How do I get at a Menu in a nib? | 30 Jan 2004 17:13 GMT | 5 |
I have stored my menus and menu bar in a nib file using Interface Builder. I would like to get at these menus so that I can (for example) check and uncheck menu items in response to user input.
|
| Configuring MacCVS | 30 Jan 2004 03:37 GMT | 8 |
I need to know how to fill in the 'Remote Hosts' session settings. I keep getting a message "Some remote host information is missing. Please check the Remote host options' panel in the session settings. I get this message whenever I try to do an "import" from the Action Menu. I ...
|
| C++ file I/O won't flush | 29 Jan 2004 20:42 GMT | 5 |
I was debugging something in my program and noticed my debug logs files weren't getting flushed to disk. I'm using C++ standard I/O calls to do the logging. I can reproduce it with the following program(I created my test project with the Carbon C++ Console stationary):
|
| Unwanted French items in application menu | 29 Jan 2004 20:08 GMT | 7 |
I am using CW 8.3 in Mac OS 10.3.2. Both have been installed in English. When I compile and run my application (let's call it 'MyApp'), the first menu bar item is created automatically by CodeWarrior. It is named 'MyApp' and the items contained in there are:
|
| Porting to OS X with dylib | 29 Jan 2004 18:45 GMT | 3 |
I'm trying to port an application developed for OS 9 in conjunction with an Oracle Client to the new OS X using Carbon in a Metrowerks Codewarrior environment. The new OS X client libraries provided by Oracle are based on Darvin and
|
| Better NewsReading options? | 29 Jan 2004 17:30 GMT | 3 |
I'm using Newsflash to attempt to participate in the CW newsgroups, but it doesn't seem to work that well. I've also tried another that wanted money but sucked, and the author wasn't very helpful. What other options are there for participating in this group? I'd really rather it ...
|
| Carbon, SetPtrSize() | 29 Jan 2004 13:28 GMT | 3 |
The following test code was done on CW9 and OSX 10.3.2 void DoTest() { Ptr p = NewPtr(1);
|
| Does CodeWarriror benefit from dual processor macs? | 29 Jan 2004 09:11 GMT | 7 |
We plan to set up a dedicated build machine in our dev department and I am wondering whether a dual processor Mac would shorten compilation time compared to a single processor machine. We are currently using CW 9.1 on Max OS X 10.3.1. Thanks, Ulrich
|
| std::vector optimisation opportunity? | 27 Jan 2004 22:47 GMT | 1 |
What do you think of the idea of std::vector optimisations predicated on whether the value_type has a swap() function? The idea is that instead of using copy_backward() to shuffle existing container items into the right place, a similar function could be used
|
| Plugin to modify object code | 27 Jan 2004 10:04 GMT | 3 |
I wonder if anybody could give me some advice on writing a plugin. What I want to do is to insert short sections of diagnostic code at various points within a C/C++ program compiled under CW (in a similar way to the profiler calls that can be added to a function). I don't want this ...
|
| Unix static library usage? | 27 Jan 2004 09:23 GMT | 1 |
I'm building a Carbon application with CodeWarrrior, and later, if I get this all to work, a Carbon Shared Library. At the moment, I am trying to incorporate Bigloo into this application. I downloaded its sources, ran Make, and compiled it.
|
| Getting MacOSX Version | 27 Jan 2004 06:17 GMT | 5 |
How can I get the OS Version in C++ ? (I need to know if it s 10.1 or 10.2 or 10.3) Thanks a lot, Dlp
|