Dear All,
When working with emulator for pock pc 2005 in vs8 beta 2.
I always met this error like below:
I use some project in C,in C++ together.
I compile,it is good.No error.
But when i emulate in pocket pc 2003 emulator in mode Debug.
There are some code he do nothing.
Example:
char* test(void* a,int b);
when i declare
char* t;
int c = 4;
then i call the fonction test(t,c);
It die.
Don't understand.
JT

some thing can't understand in emulator
Bobbit Angeles
Does this program run a physical device My initial guess would be an "alignment fault". On ARM memory reads/writes have to be aligned to match the data size so 1 byte - no alignment, 2 bytes - memory address must be even, 4 bytes - memory address must be divisible by 4. So the following code will fault:
char t[5];
int i = 4;
*((int *)&t[1]) = i;
Could you publish the complete code and project settings - I'll try to reproduce this fault
Thanks,
Vladimir