PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Datatype Misalignment error, again...

I get a datatype misalignment when I load a certain surface.

The file is a normal bitmap (I tried 8 and 24 bits), and I don't get this error on the Windows version, only on the PocketPC version.

I use these calls:

CGapiSurface S1;
S1->CreateSurface(file);

Everytime the same error occurs. What can cause such an error? I remember a while back I had the same problem with bitmaps saved as 16 bits, but now I'm using 24 bits.

Thanks!
Could you email me a copy of the BMP for test?