it doesn't work it makes this error :
illegal implicit conversion from 'unsigned long' to 'const char *'
> You can't just cast a UInt32 to a char* they are not compatible
>
> Try this
>
> Char szL[10];
> StrPrintF("%i", L);
> WinDrawChars(szL,StrLen(szL),10,120);
>
> Fergal.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: 01 March 2002 16:12
> > To: Palm Developer Forum
> > Subject: How to print a UInt32
> >
> >
> > Hi,
> >
> > I would like to know the value of a UInt32 with WindrawChars
> > (I can't use the debug to know the value).
> >
> > I have tried
> >
> > UInt32 L;
> > WinDrawChars((char*)L,StrLen((char*)L),10,120);
> >
> > But it make a fatal exception.
> >
> > I have tried
> >
> > UInt32 L;
> > StrCopy(codePhys,(const char*)L);
> > WinDrawChars(codePhys,StrLen(codePhys),20,100);
> >
> > But it make the same error.
> >
> > If someone could help me.
> >
> > Thanks
> >
> > Best Regards
> >
> > Helene
> >
> > ____________________________________________________________
> > Faites un voeu et puis Voila ! www.voila.fr
> > Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
> > �TM��`=
> > -���z�my�����>�r���
> >
>
____________________________________________________________
Faites un voeu et puis Voila ! www.voila.fr
Avec Voila Mail, consultez vos e-mails sur votre mobile Wap.
���+��b�z'�ȧ��^=�f
�ޖ�^�Z+�k(��.�˛���m�ey��硶��0��f��(��^��^r캚h��ߢ���