I have the following structures, they work in BCB 3.0. After migrating, I noticed that the AnsiString get Null'd out after
the form create section....I can trace my code and see it initialized properly, but once the form pops up, the ansistrings values are null, but integer values are still good.
Any idea on tracing the values or why the ansistring values
might be getting stepped on?
Thanks,
Joel
struct QueMotorsStruct
{
int MotorId;
long MotorPreset;
int MotorSpeed;
int MotorRamp;
};
struct QueStruct
{
AnsiString QueName;
AnsiString QueText;
AnsiString QueConfirm;
int QueMotorCount;
QueMotorsStruct QueMotors[NumMotors];\\nummotors=32
} ;
struct ShowStruct
{
String ShowName;
int CrestronId;
int QueCount;
QueStruct Ques[MaxQues];\\Max ques =50
} Show[MaxShows];\\maxshows = 50