Hi All,
I am facing the below problem with the CW 10.0. Any quick help in this regard would be very very helpful for us.
I have developed a classic (Power PC) application using CW 10.0 on a mac mini with 10.4 mac OS (tiger).When I run this application on OS 10.4, the classic environment (9.2.2) starts and the application runs without any problem.
But when I try to run this application on a native OS 9.2.2 system (Power PC G3), this application does not run. When I try to execute this application, an ‘Open With..’ dialog pops up.
When I take a look at the type of application, it gives the information that it is a ‘document’ and not an application.
How can I successfully build an application on OS 10.4 to target the OS 9.2.2 system using CW 10.0 ?
Are there any specific settings that I need to set while building the project using the CW IDE?
Note:
Even when I tried to run the ‘Hello World ppc’ sample application (path: MetroWerks CodeWarrior 10.0 \ (CodeWarrior Examples) \ MacOS Examples\ C C++ for Power Mac\Hello World PPC\ ‘ ) I have observed the same behaviour ie., the application runs successfully in the classic environment on the OS 10.4 mac mini system but not on the native OS 9.2.2 system.
Yes, I think you are right. The application has not been transferred correctly. After installing FileTyper, I have checked the file type and creater on the OS 9.2 system.
The file type has become 'Text' and the creator as 'dosa' which is incorrect.
I have transferred the files using zip. Also, I have copied the application and the data directory directly to a USB memory stick and transferred to the OS 9.2 system.
How do we need to actually transfer the files and what all files do we really need to transfer?
Thanks in advance,
Thanks a lot for all of you. It works fine on OS 9.2 in case I use sutffit. But do I have other options?
Should I always use StuffIt (or any other zip utility) in order to distribute my application to others?
Thanks,
Vijay
mrvk wrote:Thanks a lot for all of you. It works fine on OS 9.2 in case I use sutffit. But do I have other options?
Should I always use StuffIt (or any other zip utility) in order to distribute my application to others?
Thanks,
Vijay
Hi,
I am pretty new to this environment. I am not really sure, if the CFM code is being generated. In the Target Settings, I have specified the linker name as 'Macintosh Power PC' and not as 'Mach-o'. Also the project type is specified as 'Application' with type as 'APPL'.
Can you please let me know how can I sure that the CFM code is generated and what should be the application file extension for the generated file ? I am not able to view the extension using the option, 'Get Info' for the generated file.
Thanks in advance,
Vijay
In the Target settings panel, the Creator is specified as '????' and the Type is specified as 'APPL'. These were the default values. Can you please let me know whether I need to modify it to ensure that the application runs on native OS 9.2.2 ?
Yes, the project type is set to 'Application'. I also do see a PPC PEF panel. I am unable to find the option, 'Use Mac OS Packager'. Under the linker panel, I have an option, 'Code Folding' which is turned off.
After compiling the classic application (TestClassic), a directory with the name, 'TestClassic Data' is created with a .stg and .tdt files and object code.
I have copied this directory along with the TestClassic application to the native OS 9.2 system. Even then it does not work.
The project type that I have used is 'Mac Os C++ Stationery' and the template is 'Mac OS Classic \ C++ Toolbox Classic'.