[reSIProcate] Datatype Misalignment exception in resiprocate.lib on a PocketPC device
david Butcher
david at purplecomm.com
Thu Dec 9 19:57:11 CST 2004
Hi all,
Enclosed is a test program for a form of dynamic cast. Could someone let me know
if it works on WinCE (and maybe other platforms where dynamic_cast is a known or
suspected issue)?
If it works, I'll dress it up with some macros and incorporate it into the stack.
thanks,
david
Quoting Cullen Jennings <fluffy at cisco.com>:
>
> Sure that sounds good.
>
> On 12/5/04 1:11 PM, "david Butcher" <david at purplecomm.com> wrote:
>
> > I would rather see resip::DynamicCast<U>(T) if we could.
> > Will still need the getType() interface you propose, of course.
> >
> > david
> >
> >
> > Quoting Cullen Jennings <fluffy at cisco.com>:
> >
> >>
> >> We only use dynamic casts on a few different classes in the stack. I was
> >> just going to add a virtual function called something like "getType" to
> each
> >> of these classes then go and replace the dynamic cases with calls to the
> >> getType function followed by static casts if the type was correct.
> >>
> >>
> >> On 12/5/04 7:07 AM, "ÃÃ ÃÃÃÃ" <yaotangbb at hotmail.com> wrote:
> >>
> >>> Thank you for your answers very muach.
> >>>
> >>> My first big problem with pocketpc 2003 is iostream. Embedded vc does
> not
> >>> support it. But i have replaced iostream and solved this problem with
> >>> string,
> >>> I thought I have almost been crowned with success , but had not thought
> of
> >>> meeting this difficult problem that embedded product development was
> often
> >>> met(Datatype Misalignment).
> >>>
> >>> Can you tell me the detail of solve this problem?
> >>>
> >>> Thanks & Best Regards!
> >>>
> >>> _________________________________________________________________
> >>> Ãëê»úµÃÃ
óÃýøÃý»Ã÷£¬ÃëùÃà MSN Messenger:
> http://messenger.msn.com/cn
> >>>
> >>
> >>
> >> _______________________________________________
> >> resiprocate-devel mailing list
> >> resiprocate-devel at list.sipfoundry.org
> >> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
> >>
> >
> >
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testDynamicCast.cxx
Type: application/octet-stream
Size: 5827 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20041209/739e1331/attachment.obj>
More information about the resiprocate-devel
mailing list