Thanks to all the programmers out there who responded to my question offering solutions and assistance. The lessons I learned: 1. Don't assign Pascal-style strings to null-terminated string variables directly, use the StrPcopy() function instead. 2. Always pad the MapBasic string variable with the maximum number of characters that will be used in the DLL. Thanks for all your help. Peter Zyczynski Analyst Programmer Landfile Consultancy Australia email: [EMAIL PROTECTED] "The one who makes least errors in life is the one who learns the least" _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
