Setting creator id and type

Discuss PocketC for Palm OS (including Desktop Edition)

Postby shovavnik on Tue Mar 27, 2001 7:01 am

Hey there,

How can I set the creator id and type for my pocketc compiled .prc file and for dbs I create at runtime? Is there a function I'm missing? I look all over the place.

Posts: 2
Joined: Tue Mar 27, 2001 6:45 am

Postby jwinch on Tue Mar 27, 2001 10:33 am

It's done in the header of your source file by the desktop compiler with several directives that begin with "@". For instance:
<font color=red>@cid "MyAp";</font id=red>
sets the creator id. Read the file pde.html for a list of the directives and the file triangle.pc has an example.
Posts: 2
Joined: Tue Mar 27, 2001 10:23 am
Location: Canada

Postby Tom Miller on Wed Mar 28, 2001 2:22 pm

I think he's talking about db's that are created by his app, in which case you would use:
dbcreatex(<i>string name, string creator, string type</i>);

Tom Miller
Tom Miller
Posts: 80
Joined: Thu Mar 15, 2001 2:27 pm

Postby shovavnik on Sat Mar 31, 2001 6:27 pm

Thanks Tom and jwinch. The directive issue is what I was looking for really. I couldn't find it in the documentation.
Posts: 2
Joined: Tue Mar 27, 2001 6:45 am

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 9 guests