WE ARE ALL TELLING YOU THE SAME THING!

when you change the mode, likely the struct ends up being 4-byte
aligned on the stack, and in the current mode it is not.

try this:


remove
err = PceNativeCall((NativeFuncType*)armP,&FixParmlist);

and add:
{
  void* x=MemPtrNew(sizeof(FixParmlist));
  MemMove(x,FixParmlist,sizeof(FixParmlist));
  err = PceNativeCall((NativeFuncType*)armP,x);
  MemMove(FixParmlist,x,sizeof(FixParmlist));
  MemPtrFree(x);
}



On 5/22/07, Mike <[EMAIL PROTECTED]> wrote:
Interesting. I don't understand the whole armlet thing and the differences 
between the 68k and arm processors to know any better, but this code has been 
working on over 40 different builds across 4 different projects without a 
problem so I find it hard to imagine it's working on dumb luck.  But if it's 
wrong, its wrong. I'll change it.

In any case, that isn't the cause.  I change the settings to use the jumptable 
mode and JT runtime and...it works!

Is there any place or book I can read up, in detail, what the differences are 
in between the different modes?  I know the mode has to match the runtime... I 
want to learn *why*.

Thanks for the help guys!
-Mike



--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to