>StrCopy(mystring,"Foo"); > >I assume that the string "Foo" is treated as a global by the compiler and >allocated as such. > >How do I work around this, other than by assigning values character by >character?
Use "PC Relative Strings" option in your compiler. You could also try and keep all your string constants in resources and load them at run-time, which has the added benefit of easing localization. Brian _____________________________________________________________________ Mark/Space Softworks voice 408-293-7299 111 West Saint John, 3rd Floor fax 408-293-7298 San Jose, CA 95113 <http://www.markspace.com> PalmOS, Mac OS, Windows and Web Software & Solutions: PageNOW! Wireless Messaging, PhoneWatcher Caller ID, Fax Send and Receive for PalmOS Online & Communicate terminal emulation and serial debugging DataCord serial data cables for Handheld Devices -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
