Hi, This simple code always crashes VersaMail on the Treo650. Why?
ExgSocketType* s= MemPtrNew (sizeof(ExgSocketType)); MemSet (s, sizeof(ExgSocketType), 0); s->name= MemPtrNew (100); StrCopy (s->name, "mailto:[EMAIL PROTECTED]"); // //MemPtrSetOwner (s, 0); <=tried with these also //MemPtrSetOwner (s->name, 0); // ExgRequest (s); // //MemPtrFree (s->name); <=can these be freed here? //MemPtrFree (s);
OK, it does not always crash: you must have an account configured in VersaMail. If you have no account configured, the configuration process will launch correctly.
Seems to crashes both: on the Treo650 Sprint Simulator and on real devices.
Any help appreciated...
--
Radoslaw Nowak, RNS::
www.ranosoft.net/palm
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
