Why when I create an variable as UInt16 nReg; //like a global variable
inside of a Main.c archive and when use extern nReg; / to use of this form:
recH=DmNewRecord(dbCl, &nReg, tam); // in another Archive, show this erro
Error : illegal implicit conversion from 'int *' to
'unsigned short *'
DB
You wrote:
>Why when I create an variable as UInt16 nReg; //like a global >variable
>inside of a Main.c archive and when use extern nReg; / to use of >this form:
...
You declared extern nReg; incorrectly. It should be:
extern UInt16 nReg;
Josh
--
For information on using the Palm Developer For
Thanks Josh!!
Is that!!!
"Josh L" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> You wrote:
> >Why when I create an variable as UInt16 nReg; //like a global >variable
> >inside of a Main.c archive and when use extern nReg; / to use of >this
form:
> ...
>
> You declared extern