Recent content by kuroyume

  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...
Back
Top