The PJSIP 1.2 encountered "Datatype Misalignment" exception.

LM
list mail
Tue, May 19, 2009 4:24 AM

Hi all, I was complied the 1.2 version, it's working fine on PC,
but when I compile it on windows mobile 6, I encounter a "Datatype
misalignmen" ecxeption when called the :

srtpProtect((void*)buffer, (int*)&bufferSize, true);

the debugger of MS VS 2005 for mobile is stopped at this line:
stream = srtp_get_stream(ctx, hdr->ssrc);

The exception is:

Unhandled exception at 0x01496778 in Sample.exe: 0x80000002: Datatype
misalignment.

Please help me how to fix this issue, I'm newbie, thank you in advance.

Hi all, I was complied the 1.2 version, it's working fine on PC, but when I compile it on windows mobile 6, I encounter a "Datatype misalignmen" ecxeption when called the : srtpProtect((void*)buffer, (int*)&bufferSize, true); the debugger of MS VS 2005 for mobile is stopped at this line: stream = srtp_get_stream(ctx, hdr->ssrc); The exception is: Unhandled exception at 0x01496778 in Sample.exe: 0x80000002: Datatype misalignment. Please help me how to fix this issue, I'm newbie, thank you in advance.