Thank you for your information.

Sorry for mistyping POD, it should be POL.

After matching line by line in the settings, I can find what the problem is
and want to share with who meet the same problem.  It is based on the
selection of "Object Library for Palm OS Application Stationery" in new
project wizard.

It's the procedure to make it to use with rcp, instead of default rsrc.

1. Create the basic framework by selecting "Object Library for Palm OS
Application Stationery"
2. Open Release Settings
    2a. / Target / Target Settings,
        Linker: changed to "Palm OS 68K"
        Post-linker: changed to "None"
    2b. / Target / File Mappings,
        Add following types:
            (1) File Type: MMLE
                Extension:
                Compiler: Library Importer
                Edit Language: None
            (2) File Type: MPLF
                Extension:
                Compiler: Library Importer
                Edit Language: None
3. Open Pilrc Designer,
    3a. Delete Miscellaneous / 1000 VERSION
    3b. Delete Miscellaneous / 1000 APPLICATIONICONNAME
    3c. Save As Starter.rcp
    (Both the version and application name should be set in settings /
Target / Palm OS 68K Target)

4. In "Files" tab of project window,
    4a. Remove Starter.rsrc
    4b. Add Starter.rcp
    4c. Add Starter_Res.h
5. Modify Starter_Res.h,
    5a. Change
        #define EmblemBitmapFamily    1000
        to:
        #define EmblemBitmapFamily    1001

        (This is stopping the following error: (don't know if this is bug)
during first compiling: "Duplicate resource, type 'Tbmp', ID 1000, not
included inoutput PRC file.")

6. Compile and install it.

It is what I do to make my project of "Object Library for Palm OS
Application Stationery" work with rcp. Maybe there is a lot of way to do so.
It is just for reference in case you have same question. Hope it can help
someone else or welcome to any comment if I have something missed.


"Ben Combee" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???...
> At 09:10 AM 4/2/2004, you wrote:
> >I'm working on C under CW9 for few months. I'm now trying POD on CW9.
When I
> >begin with the wizard and the framework is generated, the default
resource
> >is in rsrc format. When I compile it, no problem was found.
> >
> >After I convert it to rcp with Pilrc Designer, I remove Starter.rsrc and
add
> >back Starter.rcp. Also, I change Linker to "Palm OS 68K" and Post-linker
to
> >"None" in project setting. I compile it and the following message
appears:
> >
> >Link Error  : __RuntimeModule__: '__Startup__' referenced from
> >'__DummyStartup__' is undefined.
> >
> >I just want to use rcp with POD, instead of rsrc.
>
> What POD do you mean?  Palm OS Debugger?  Do you mean Object Library for
> Palm OS (POL)?  If so, the wizard for it in V9 generates a project that
> uses PilRC.
>
> Anyway, the problem you're seeing is that your don't have the runtime
> library for the application in the target.  You should have followed my
> conversion tips at http://www.palmoswerks.com/stories/storyReader$131
>
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
>     Read "Combee on Palm OS" at http://palmos.combee.net/
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to