09-05-2007, 07:26 PM
Dialog function is called many times while the dialog is shown. Each time, local variables are created and destroyed. Make sure you assign values to local variables before using them. Or use thread variables (str-) instead.
