Skip to content

Xojo Programming Blog Posts

Casting about in both 32 and 64 bit worlds

Consider the following code:

dim i64 as Int64 = 1234567
dim i32 as int32 = 7654321

i32 = Int32(i64) // cast
i64 = Int64(i32) // cast

i32 = Ctype(i64, Int32) // convert
i64 = Ctype(i32, Int64) // convert

It all seems reasonable enough. Not useful, but seems reasonable. Only one problem. It won’t compile. Why not? The two casts to int32 and int64 will fail. Now why is that?

Comments closed

Private/Public Key Interoperability

If you do any work with private/public key cryptography, the addition of the Crypto library last year made it finally possible to create and verify digital signatures as well as encrypt and decrypt data. Using keys with other systems requires a little more work to convert them to and from the PEM format.

Comments closed

What is Raspberry Pi?

The announcement at XDC 2015 of upcoming Xojo support for Raspberry Pi was greeted with enthusiastic applause. But after the keynote, I had several people come up to me and admit that they did not know what this Raspberry Pi is, so I thought I’d take a moment to give some background.

RapsberryPi.png

Comments closed

Preparing for a 64-bit World

Xojo already creates 64-bit apps for iOS. Soon, it will also create 64-bit apps for other platforms. I, for one, welcome our new 64-bit Overlords. After all, they’ll be bringing you increased performance and increased memory! Even better, there is not much you’ll have to do to create 64-bit versions of your existing Xojo apps.

UPDATE October 2015: Xojo Builds 64-bit Apps Now

Comments closed