Click here to get back home

Datatype Misalignmnt exception at run time

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Datatype Misalignmnt exception at run time satish 09-16-2007
Get Chitika Premium
Posted by satish on September 16, 2007, 3:38 am
Please log in for more thread options
Hi all,
I am able to compile the C & ARM11 code using VS2005(with windows
mobile 6.0 professional SDk) for WM6.0 platform.

During run time on WMobile device, ARM assembly code compiled by "armasm"
compiler is throwing DATA MISALIGNMENT exception, when i access memory(int
value) by using a BYTE pointer and the BYTE pointer value is an odd number.

Fixes for the above problem, solutions for Windowsce4.2 & 5.0 Platform
builder are available as given below:

For winsce4.2 -- http://support.microsoft.com/kb/909973
For winsce5.0 -- http://support.microsoft.com/kb/909476

Questions:
1) Does the above fixes are applicable to Pocket PC Phone Edition?
2) As i am compiling the code using VS2005(with WM6.0 SDK),
In this case "Is there any FIX for this data misalignemnt
exception
problem?"


Pls help me in fixing this issue.
Thanks In Advance,
satish


Similar ThreadsPosted
DataType Misalignment error November 11, 2005, 1:23 am
Exception handling July 13, 2005, 11:12 pm
Have exception after called CeReadRecordPropsEx October 26, 2006, 5:02 am
Type Load Exception February 26, 2007, 12:20 pm
TuxNet Native Exception May 24, 2007, 4:43 am
Work URL Exception Location June 21, 2007, 7:34 pm
Loading JPG into Bitmap - strange exception June 16, 2006, 4:02 pm
Getting exception while trying to play streaming audio... October 11, 2007, 11:15 am
Adding a Work URL Exception Programatically November 6, 2007, 10:51 am
"The server threw an exception" when deploying on WM5 Smartphone QVA emulator March 11, 2006, 11:45 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap