Article View: comp.sys.mac.programmer.help
Article #7Can an OSType be interchanged with a Str255? How?
From: Bill A. Oyler
Date: Mon, 21 Aug 1995 05:06
Date: Mon, 21 Aug 1995 05:06
14 lines
994 bytes
994 bytes
Hello, This should be a simple question. I need to change the creator of a file by using the SetFInfo toolbox call. The creator is stored in a Str255, however, not in an OSType like the call requires. How can I convert a Str255 to an OSType? I tried some different methods of typecasting, but can't get anything to work. Help! :) ===================================================== Bill A. Oyler People usually get what's Minnetonka, MN, USA coming to them ... unless oylerb@tdkt.skypoint.net it's been mailed. =====================================================
Technical Details
Message-ID:
<oylerb-2108950006040001@msp1-5.nas.mr.net>Path:
arc1-ca.pugleaf.net!msp1-5.nas.mr.net!userShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!msp1-5.nas.mr.net!user From: oylerb@tdkt.skypoint.net (Bill A. Oyler) Newsgroups: comp.sys.mac.programmer.help,comp.lang.c Subject: Can an OSType be interchanged with a Str255? How? Date: Mon, 21 Aug 1995 00:06:04 -0500 Organization: The Dark Knight's Table BBS Message-ID: <oylerb-2108950006040001@msp1-5.nas.mr.net> NNTP-Posting-Host: msp1-5.nas.mr.net