Search results

  1. K

    Have 10.7 but need 10.6 to support older software sdk

    I just purchased a new MacBook Pro with 10.7 Lion and installed Xcode 4 (as it is the only version 10.7 supports). But, to support older versions of the software that I develop for, I need 10.6 and Xcode 3.x as well. I understand that I can set up a dual boot for both OSs. That is not the...
  2. K

    Get current user path?

    The SDK being used has since added a means to get the user's folder. They're a little bit slow trying to keep up with Apple's changes. :) Thanks
  3. K

    Get current user path?

    What does that have to do with this at all? There is no mention of a 'tilde-based path' in the entire thread (???)
  4. K

    Cocoa/Obj-C++ with C++ based plugin API?

    In the latest version of the company's software in which I develop C++ cross-platform plugins, they now require MacOS 10.5 and Xcode 3.1 in order to build a multi-target, 32/64-bit dylib plugin for Mac. I've already asked the company how I would go about using Cocoa instead of Carbon for...
  5. K

    Get current user path?

    I eventually found something but it took about twenty variations on wording (in the end, since the current user's Library:Preferences was my target, that helped). So, here's my little code - works great: #include "Folders.h" // METHODS: MacUserPrefs // Get Users Preferences folder...
  6. K

    Get current user path?

    On a multi-user machine, how would one get the current user's folder path (i.e.: /Users/<user>) in Carbon only (Xcode C++). Seems that using environmental variables (getenv()) returns nothing for "PWD". Thanks, Robert
  7. K

    Tiger-Leopard dual-boot questions

    Guess that I will find out this week. I've just ordered MacOS 10.5.1 online and will purchase a new external harddrive in the meantime. Sounds like I should be able to run the software installed on the internal drive while booted to the external OS which is okay by me. :) Thanks, Robert
  8. K

    Tiger-Leopard dual-boot questions

    Since I do development, I want to keep my iMac G5 at 10.4.11 (Tiger) while having 10.5.2 (Leopard) on an external drive for booting and customer support (in the meantime anyways - at some point, I may move the internal to Leopard and keep a version of Tiger on the external drive for customer...
  9. K

    New Finder given path (Carbon C++)

    Must the "path:to:folder" be in the older HFS format (Macintosh HD:Applications:...) or can it also work with the newer format (/Applications/...)? I'm not getting a finder with the newer format but it may be either this or that it also requires the "/Volumes/Macintosh HD" be prepended (?). I...
  10. K

    New Finder given path (Carbon C++)

    Thank you very much! I'll give the referenced code using the given AppleScript templates a try as soon as possible (lots of sleeve tugging in all directions at the moment).
  11. K

    New Finder given path (Carbon C++)

    Anyone have code (or links thereof) to do this - Open a Finder window to display a file/folder from an application? I understand that AppleEvent is involved here - but it sure would be nice to have some code that exemplified this. Please, no Cocoa, no Objective-C. Thanks
  12. K

    PICT image alphas on Intel Macs

    Hmmmm. I have a strange problem. The application for which I develop plugins seems to have changed its QuickTime image support from one version to the next. In all previous versions (v 10.1 back), the PICT images with alpha transparency extracted from Resource Fork data work fairly well. In...
  13. K

    Odd crash in UB only using my own QSort

    Nobody? I have not yet found a reason for this crash. It is very particular and *only* UB. Even a non-recursive sort (CombSort) has the same results. This makes no sense at all. If the files are moved from this particular folder, no crash. If the folders are moved from this particular...
  14. K

    Odd crash in UB only using my own QSort

    Just to add: The UB crash is the same test that doesn't elsewhere. Here's the code for your perusal: // Alphanumerically QuickSort by content name (String path) //*---------------------------------------------------------------------------* void RuntimeItem::QSortRTI(RuntimeItem* rti, LONG...
  15. K

    Odd crash in UB only using my own QSort

    Hello all, This is very odd. In order to do an alphanumeric sort of folders/files in a tree, I coded my own little QSort. Only the data between the items is swapped - no pointers are harmed. This was heavily tested on Windows 32|64-bit and MacOS PPC (CodeWarrior) using the same...
  16. K

    Resource fork data in Xcode?

    Okay, I think that I have this sorted. Include the Carbon.framework and the header path to the required headers in the Developer folder and it works. Currently, I'm using full paths converted from MacOSX paths: /Applications/Folder/Folder/File.ext For FSMakeFSSpec(), this needs to be a full...
  17. K

    Resource fork data in Xcode?

    I'm looking for a way to convert this code from CodeWarrior PPC to Xcode Universal Binary. I'm not doing Carbon or Cocoa. It is a C++ application SDK and creates a dylib. The resource data is NOT part of the build - it is data read by the application plugin being created - external, not...
  18. K

    Zlib (libz.dylib) issue with plugin dylib

    Back again. :) I've long since found a way around this UB problem - "/Volumes/" fix works once you can get the volume name to append to this. Thankfully, the SDK now provides a way to do this (hmmm, wonder why?). Now I have a more interesting problem. gzopen() and multibyte characters in...
  19. K

    Zlib (libz.dylib) issue with plugin dylib

    Well, it's been a long time - but then I put this problem aside to do *real* work instead of banging my ahead against a wall. :) The problem turns out not to be related to zlib gzopen() directly, but a situation of MacOS X path descriptions generally (fopen() fails as well). Reading around, I...
  20. K

    CodeWarrior 9 go boom...

    What I found out is that it could not handle the number of String variables needed in two of the methods for parsing (getting and checking file lines in a while loop). There are many keywords to check (31 in one and over 40 in the other). This is only a partial set in each. It required...
Back
Top