Page 1 of 1

PostPosted: Tue Mar 27, 2001 7:01 am
by shovavnik
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.


PostPosted: Tue Mar 27, 2001 10:33 am
by jwinch
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.

PostPosted: Wed Mar 28, 2001 2:22 pm
by Tom Miller
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

PostPosted: Sat Mar 31, 2001 6:27 pm
by shovavnik
Thanks Tom and jwinch. The directive issue is what I was looking for really. I couldn't find it in the documentation.