Try this.

        unsigned long ii = 1113812836;
        char i4 = (char)(ii & 0x000000FF);
        char i3 = (char)((ii >> 8) &  0x000000FF);
        char i2 = (char)((ii >> 16) &  0x000000FF);
        char i1 = (char)((ii >> 24) &  0x000000FF);


On 29 Oct 2001, at 13:06, gordingin wrote:

> Example DmGetNextDatabaseByTypeCreator() returns me the creator code 1113812836. I 
>would like to display that on the screen as "Bcod". Sorry bout that....
> 
> thanks
> r-
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/
> 
> 


John Leung
[EMAIL PROTECTED]
http://persweb.direct.ca/jleung

-- 
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