Search results

  1. K

    CodeWarrior 9 go boom...

    Okay, that isn't a very informative title. Here are the details: I'm trying port a plugin which works on Windows (boo) to MacOS in CodeWarrior 9.0. There is a working project file for other similar plugins which I used and setup for this port. But when I try to compile the plugin...
  2. K

    Zlib (libz.dylib) issue with plugin dylib

    Now here's one that I can't figure out or find an answer. My plugin is compiling and linking into a PPC/i386 dylib. I'm using the -lz flag for the linker and include the zlib headers (zconf.h and zlib.h) as usual. No warnings or errors related to zlib. I am certain that libz.dylib (and its...
  3. K

    Carbon for accessing MacResources in XCode?

    Alright. I think that the Mac Resources have been resolved by using CoreServices framework and CoreServices/CoreServices.h instead. I'm down to these cryptic, if not cryptic, undefined symbols: ld: Undefined symbols: __ZdlPviPKc __ZdaPviPKc I can only guess where they are defined. They do...
  4. K

    Carbon for accessing MacResources in XCode?

    Hello, First I'll give some background so that you understand my migration span and (limited) knowledge and experience here. All of my MacOS development has been restricted to CodeWarrior MacOS Classic CFM libraries for plugin development. The application for which I develop plugins has...
  5. K

    Carbon open/read/close resource example code?

    It is all working now. Can't consider dumping OS 9 support since the host application for the plugin runs in both OS 9 and 10 and, believe it or not, there are still users running the app in OS 9 out there. At some point, there would be someone asking why they can't use my plugin in the app in...
  6. K

    Carbon open/read/close resource example code?

    Did I mention that this plugin has to work on OS9 and OS10? So FSPathMakeRef() is useless (10.1 or above). Robert
  7. K

    Carbon open/read/close resource example code?

    Here's my Windows version of the code: // Change RSR file into temp PCT file BOOL iPDialog::ReadRSR(Filename fn) { CHAR buf[8]; UWORD i, type, index, num; LONG dataoff, mapoff, datasize; AutoAlloc<BaseFile> rsrFile; AutoAlloc<BaseFile> pctFile; if (!rsrFile || !pctFile)...
  8. K

    Carbon open/read/close resource example code?

    You're talking like I know what any of that means. I am NEW to MacOS programming. No previous experience. Which part of that voluminous code is useful? What are all the Ref numbers? Why is a File Copy relevant to opening/reading/closing a fork? Robert
  9. K

    Carbon open/read/close resource example code?

    Okay, I'm not using File Manager, but the SDK functions to get the base file name. How do I bridge between the SDK 'Filename' class (which contains the file specifier as a string - full path) and the File Manager functions? Robert
  10. K

    Carbon open/read/close resource example code?

    I am still rather new to MacOS programming (almost 20 years other). I have a plugin for an application. Using CodeWarrior Pro 9 for MacOS and a Classic target to make a shared lib (the plugin) using C++. The plugin works quite well, but it needs to access the resource forks of other files to...
  11. K

    Maybe OT: If I sell my Power Mac G4/OS 10.2, how to transfer everything?

    Yes, I would. Thanks, that makes it much easier to deal with. Now all I have to do is figure if it's gonna be sold and how to restore if so. Robert Templeton
  12. K

    Maybe OT: If I sell my Power Mac G4/OS 10.2, how to transfer everything?

    Well, I'm not happy about this, but recent "financial" misfortunes mainly to do with medical emergencies are forcing me to heavily consider the sale of my Power Mac G4 system in order to keep afloat. To make the sale smooth for both myself and especially for the new owner, how to transfer...
  13. K

    [HOWTO] - Setup FTP access on your OSX machine.

    That' s the way to do it from a browser: ftp://username: password@ ftp_address: port/path username, password, port, path may be excluded. No spaces (just to get around smiley problems) Check this link: http://www.cs.tut.fi/~jkorpela/ftpurl.html If you can't do it, than something...
  14. K

    Airport & 10.2: Completely unable to access internet

    For some reason, my Airport connectivity to the internet is lost ever since I stopped the Web serving service. I can't ping the default Gateway, I can't get email, can't get to the web, can't download crucially needed upgrades for over a month. But, it finds the wireless router. I have...
  15. K

    ftp can't change root in Jag

    I noticed. Why did Apple decide to screw us by doing such a stupid thing? I mean, I checked freshmeat (where lukemftp resides) and he hasn't even logged in there since 8/01. The last update was 5/01. What exactly is Apple trying to tell us? Was hoping not to have to delve deeply into...
  16. K

    ftp can't change root in Jag

    Added my test user to the ftpchroot (which always responds with a "Can't change root" error when ftp-ing), added /dev/null and /sbin/nologin to etc/shells and set the user's shell to /dev/null in NetInfo Manager. This did not change anything. Still getting the same error. What else needs to...
  17. K

    [HOWTO] - Setup FTP access on your OSX machine.

    Don't know if you got an answer to this already (someplace else), but the way to do that from a browser is: ftp://username@<ftp address> where <ftp address:> is the IP address or DN (like ftp.myftpserver.xxx or www.mydomainname.xxx>. The browser should prompt for a password in order to...
  18. K

    [HOWTO] - Setup FTP access on your OSX machine.

    Sorry to say, I just tested a "test user" account from my Wintel machine using WinSock FTP32 and was able to ".." back into the rest of the system without any hesistation or complaints. Not very secure when anybody with FTP access can fiddle with the rest of my system. This "test user" does...
  19. K

    [HOWTO] - Setup FTP access on your OSX machine.

    Thank you very much for this gem of information. I was just going about finding info on setting up ftpchroots and ftpusers and so forth and so on. This makes the process sooooo much easier and is exactly what I was looking for! Thanks again, Robert Templeton
  20. K

    Software to burn ISO 9660/Joliet DVDs?

    Thank you both for your responses. In regard to cdrecord and cdtools, are they included with the underlying Darwin? If not, where can they be acquired. I'll probably get and try both of them out. Always good to have alternatives. Thanks again, Kuroyume
Back
Top