hi ,
Can any body help me out how to send and "Mail" from
eudora mail by lauching the application by using
SysUIAppSwitch() and after sending the mail it should
return to the calling application.
What i am doing i writing it down if there is any
please help me out..
Help will be appreciated.
thanks in advance
Srini
****************************************
Err err;
Char* url;
DmSearchStateType searchState;
// UInt16* cardNo;
// Make a copy of URL
dbID=DmFindDatabase(cardNo,nameP);
if (!dbID)
FrmCustomAlert(MessageAlert,"Could not find the
App","","");
err=DmDatabaseInfo(cardNo,dbID,NULL,&attributesP,&versionP,&crDateP,&modDateP,&bckUpDateP,&modNumP,&appInfoIDP,&sortInfoIDP,&typeP,&creatorP);
url=(char *)MemPtrNew(StrLen(origURL));
if (!url)
return sysErrNoFreeRAM;
StrCopy(url,origURL);
MemPtrSetOwner(url,0);
err=DmGetNextDatabaseByTypeCreator(true,&searchState,sysFileTApplication,creatorP,true,&cardNo,&dbID);
if (err)
{
FrmCustomAlert(MessageAlert,"No clipper is present
to launch","","");
MemPtrFree(url);
}
else
err=SysUIAppSwitch(cardNo,dbID,sysAppLaunchCmdGoToURL,(MemPtr)url);
return err;
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/