🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.programmer.codewarrior
3 messages
3 total messages Started by Edward Chew Mon, 04 Mar 2002 23:01
Application launches into ResEdit
#1046
Author: Edward Chew
Date: Mon, 04 Mar 2002 23:01
13 lines
1984 bytes
This is very strange.  I recently upgraded from CWPro 6 to 7, and Mac OS 
X seems to think my executable has turned into a ResEdit file.  If I 
double-click on it from the Finder, it opens up in ResEdit to reveal the 
resources contained therein (it's a single-file Carbonized app).  I can 
still launch it from within CodeWarrior without a problem.

The previously compiled version I made with CWPro6 still launches 
correctly.  If I Show Info on the file, it is identified correctly as an 
Application.  Somewhere in the bowels of OS X there must be a database 
of what files belong to which applications, and I think maybe mine got 
corrupted somehow.  Any idea how I might fix this?

Edward Chew
Re: Application launches into ResEdit
#1047
Author: MW Ron
Date: Tue, 05 Mar 2002 00:00
32 lines
2513 bytes
In article <3C83FCE2.7070105@kos.net>, Edward Chew <lgl-echew@kos.net> 
wrote:

>This is very strange.  I recently upgraded from CWPro 6 to 7, and Mac OS 
>X seems to think my executable has turned into a ResEdit file.  If I 
>double-click on it from the Finder, it opens up in ResEdit to reveal the 
>resources contained therein (it's a single-file Carbonized app).  I can 
>still launch it from within CodeWarrior without a problem.

Find the application in the OS X finder  and do a command i on it and 
you will see a launch with option.  That must be set for ResEdit.  
Probably the first time you opened an application of that type in OS X 
it was from ResEdit.

that is my guess.

The "desktop file" in OS X can be rebuilt by removing the three files
beginning "LS" in "~/Library/Preferences" and restarting Finder.


>The previously compiled version I made with CWPro6 still launches 
>correctly.  If I Show Info on the file, it is identified correctly as an 
>Application.  Somewhere in the bowels of OS X there must be a database 
>of what files belong to which applications, and I think maybe mine got 
>corrupted somehow.  Any idea how I might fix this?

-- 
       TOP PICK   HandHeld Computing - issue 4.5
   "The best overall development tool for the Palm OS"

 Metrowerks, maker of CodeWarrior  -  "Software Starts Here"  
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Re: Application launches into ResEdit
#1048
Author: meeroh
Date: Tue, 05 Mar 2002 05:04
22 lines
1768 bytes
In article <3C83FCE2.7070105@kos.net>, Edward Chew <lgl-echew@kos.net> 
wrote:

>This is very strange.  I recently upgraded from CWPro 6 to 7, and Mac OS 
>X seems to think my executable has turned into a ResEdit file.  If I 
>double-click on it from the Finder, it opens up in ResEdit to reveal the 
>resources contained therein (it's a single-file Carbonized app).  I can 
>still launch it from within CodeWarrior without a problem.

At some point, you selected one of the rsrc files which get compiled 
into your application in the Mac OS X Finder, and in the Finder 
Inspector window you selected "open with --> ResEdit". That put a 'usro' 
resource in the .rsrc file, which you are now building into your app, 
causing the Finder to open your app with ResEdit.

Find the offending file and remove the resource.

hth

meeroh
-- 
Hire me: <http://meeroh.org/hire.html>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads