[EMAIL PROTECTED] wrote:
I fixed the error but now __attribute__((packed)) produces warning that state  
"Warning : illegal or unsupported __attribute__


sorry I forgot to mention:

#ifdef __MWERKS__
  #define __attribute__(attribute)
#endif

put it on keyutility.h header


Compiling with nothing, pragma or __attribute__ results in a structure of exactly the same size namely 40 for HashingBlock and 8 for KeyBlock. I may try to remove the packing on both the GCC and Metrowerks sides and if the sizes match I will continue to see if the keys encode/decode matched.
You were right making this work in Codewarrior is a challenge.


You're close to making it working.

One important thing: You will need a Codewarrior for Windows to generate the keytool.exe from the same source code to send the keys to the customer or it will not work.

If you do not have one you need someone to compile it once for you.

regards

Erico Franco

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to