General information
Category:
Windows API functions
>>Im trying to convert an integer to U_LONG, I have seen code that converts a number to LONG, is it possible to convert an integer to U_LONG?
>>
>>Mike
>
>Mike,
>If you'd pass that as a numeric value then receiver could cast it. Otherwise transform(,'@0') and pad with chr(0)s.
>Cetin
No... Thanks anyway, that does not work...
What I would like is a function like the NumToLong Function in the clsheap class, But instead of Long I want U_LONG.
I know there is a difference between sign long, and unsign long. Both are 4 bytes, but there is a difference in the 31 bit? Or sign is 0-255, and unsign is -127 to 127? Or its reversed? I just dont know how to create one in VFP. I see that creating a LONG is possible, how bout a u_long?
Thanx,
Mike
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only