Hey, I'm a newbie with PalmOS and i was looking at this sample code from the 
SDK.  I want to essentially hardwire the address that the SMS is sent to every 
time, and basically have a message inputted with certain data in each message.

I thought i could modify the function CopyFromFieldsToGlobal, but it didnt 
work.  any ideas?


static void
CopyFromFieldsToGlobal (void)
{  
  // copy email address into prefs
  StrCopy(smsPrefs.address, "[EMAIL PROTECTED]");
  
  // copy message into prefs
  StrCopy(smsPrefs.message, "This is just a test.");
}

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to