I am trying to make my application read all the contacts who have an email
address, then attach data from the handheld to an email ready for sending.
After reading the contacts, I connect to the inbox for creating an email and
keep getting an error message from EV Tools in debug.
First-chance exception 0x80000002 Datatype misalignment
at the point of the command hr = pCurMsg->SetProps( propcount, rprops,
NULL);

I have check winerror.h and the error is claiming that the machine is out of
memory, but with 32mb free !.???

Everything else is fine, some of code taken from code sample within help.

The machine is windows mobile 2003 HP Ipaq, I am using the Pocket PC 2003
SDK on EV tools v4.0 with SP2.

Thank you in advance for any help given.

Ian.

Re: Emailing from HP Ipaq (PPC2003) by Shriram

Shriram
Fri Feb 06 17:52:03 CST 2004

Have you tried building the sample code and running it on the device? Does
it also exhibit the same problem?

Are you trying to set a string that may be null?
Does it work fine if you comment out that line of code or does the same
crash happen in some other location?


--
Thanks,
Shriram Najundaiah
Microsoft Corporation, Mobile Devices

This posting is provided AS IS with no warranties, and confers no rights.


"anonymous" <anonymous@discussion.com> wrote in message
news:upulHyL7DHA.2460@TK2MSFTNGP09.phx.gbl...
> I am trying to make my application read all the contacts who have an email
> address, then attach data from the handheld to an email ready for sending.
> After reading the contacts, I connect to the inbox for creating an email
and
> keep getting an error message from EV Tools in debug.
> First-chance exception 0x80000002 Datatype misalignment
> at the point of the command hr = pCurMsg->SetProps( propcount, rprops,
> NULL);
>
> I have check winerror.h and the error is claiming that the machine is out
of
> memory, but with 32mb free !.???
>
> Everything else is fine, some of code taken from code sample within help.
>
> The machine is windows mobile 2003 HP Ipaq, I am using the Pocket PC 2003
> SDK on EV tools v4.0 with SP2.
>
> Thank you in advance for any help given.
>
> Ian.
>
>



Re: Emailing from HP Ipaq (PPC2003) by anonymous

anonymous
Tue Feb 10 04:09:32 CST 2004

Thank you for the help,

Within my program I also read through any received emails, so it also calls
the inbox, but that side works fine, it seems to be the only difference is I
use POOM to read contacts on sending.

I tried commenting out the SetProps call, but the error just moved to
another call, this time to call the function to attach files.

The only string I pass though at around this point is the subject, the
program will not create an email if there is no subject. The subject is
created automatically and always creates something.

Hope this helps you.

Ian.



" Shriram Nanjundaiah [ MS ]" <shriram_is_online@Microsoft_dot_com> wrote in
message news:402428a7$1@news.microsoft.com...
Have you tried building the sample code and running it on the device? Does
it also exhibit the same problem?

Are you trying to set a string that may be null?
Does it work fine if you comment out that line of code or does the same
crash happen in some other location?


--
Thanks,
Shriram Najundaiah
Microsoft Corporation, Mobile Devices

This posting is provided AS IS with no warranties, and confers no rights.


"anonymous" <anonymous@discussion.com> wrote in message
news:upulHyL7DHA.2460@TK2MSFTNGP09.phx.gbl...
> I am trying to make my application read all the contacts who have an email
> address, then attach data from the handheld to an email ready for sending.
> After reading the contacts, I connect to the inbox for creating an email
and
> keep getting an error message from EV Tools in debug.
> First-chance exception 0x80000002 Datatype misalignment
> at the point of the command hr = pCurMsg->SetProps( propcount, rprops,
> NULL);
>
> I have check winerror.h and the error is claiming that the machine is out
of
> memory, but with 32mb free !.???
>
> Everything else is fine, some of code taken from code sample within help.
>
> The machine is windows mobile 2003 HP Ipaq, I am using the Pocket PC 2003
> SDK on EV tools v4.0 with SP2.
>
> Thank you in advance for any help given.
>
> Ian.
>
>