Hi All
I am trying to pass a structure including a pointer to my Arm routine, modify the values of the pointer and return the pointer to my 68K app. The structure is as follows:
typedef struct MyARMStructure { int *recordPtr;
unsigned short frequency;
} MyARMStructure;
When I pass this structure to my ARM routine it crashes. However if I Pass only the pointer as the userData68KP argument it works fine. Does anyone know why this is the case, or how I might avoid this problem. I have done all the byte swaping that is necessary, and still the same result. Please help..
Thanks....
It crashes just from passing the structure (a pointer to the structure, I assume) or it crashes when you try to access the pointer on the ARM side?
-Chris Hurley
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
