[ macperl-Bugs-679861 ] Mac::Resources broken with OS X DF .rsrc files
[email protected] ("SourceForge.net") Mon, 03 Feb 2003 14:35:29 -0800
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #679861, was opened at 2003-02-03 14:35 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107940&aid=679861&group_id=7940 Category: Mac Toolbox (Mac:: modules) Group: Development Branch Status: Open Resolution: None Priority: 5 Submitted By: Alex Eddy (arekkusu) Assigned to: Nobody/Anonymous (nobody) Summary: Mac::Resources broken with OS X DF .rsrc files Initial Comment: Resource Manger calls don't work with OS X's datafork-style resources, using MacCarbon 0.03: use Mac::Memory; use Mac::Resources; my $rsrcfile = "Datafork.rsrc"; my $fileref = FSpOpenResFile($rsrcfile, 0) || die "Can't open $rsrcfile: $!"; results in: "Unknown error: 4294967257" Traditional resourcefork-style resources work as expected, but they are deprecated under OS X (cross-platform issues etc.) Calling the Resource Manager through CoreServices in C handles the DF/RF styles transparently. Mac::Resources ought to do the same. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107940&aid=679861&group_id=7940