Hi guys,

Finally I could install the app on Pose. I was able to specify the database name
and creator ID using an application definition file.

Now, my build-prc line looks like this:
     $(BUILD_PRC) -o HelloWorld.prc app.def HelloWorld *.bin

And app.def contains:
application {"HelloWorld" STRT}

Well, I never specified that the database is of type "APPL". So, I guess this is
the default.

Thanks for the help.
*********************
"If we learn from our mistakes, then I am getting a fantastic education"





Wojtek <[EMAIL PROTECTED]> on 05/15/2001 07:15:29 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (bcc: Rohit Kanwar/LTITLVSH)

Subject:  [Fwd: HelloWorld: Where to specify database name and type?]



Wojtek wrote:

> [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > I just wrote the mandatory Hello World app (my first), and compiled
> > successfully.
> >
> > however, when I tried to install the app on the emulator, Pose returned this
> > error: "Could not install the PalmOS file 'HelloWorld.prc' because the
PalmOS
> > error 0x021A (dmErrInvalidDatabaseName) occured.", and thereafter crashed.
> >
> > I guess I should give a name for this PRC application, but where ? Also, I
> > haven't yet specified the database to be of type "APPL". Where do I do that?
> > Please help.
> >
> > First person to help gets the program dedicated to them :-)
> >
> > Thanks!
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>

If you are using m68gcc compiler

>
> watch this file.
> (line with build-prc)
> Zaba.prc - name of the file
> Zamowienia - name of the appl database
> zaba        - creator
> Zamowienia - output file from compiler
> rsc/*.bin   - name of the files with resources  (compiled with pilrc)
>
> i think that's all
>
>   ------------------------------------------------------------------------
> CC=m68k-palmos-gcc
> CFLAGS= -02 -Wall
> R= ../rsc
> BUILD_DIR=~/.palm/install/
> RSC_DIR=rsc
>
> zaba.prc:$(RSC_DIR)/tAIB03e8.bin $(RSC_DIR)/tAIN03e8.bin Zaba
>         build-prc Zaba.prc "Zamowienia" zaba Zamowienia $(RSC_DIR)/*.bin
>
> $(RSC_DIR)/tAIB03e8.bin:$(RSC_DIR)/zabarsc.rcp
>         pilrc -H zaba.h $(RSC_DIR)/zabarsc.rcp $(RSC_DIR)
>
> Zaba:zaba.c zaba.h
>         $(CC) zaba.c -oZamowienia
>
> clean:
>         rm $(RSC_DIR)/*.bin
>         rm zaba.h
>         rm Zamowienia


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











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

Reply via email to