Help me upgrade my apps to version 5.2.4

I moved my applications to work with MapWinGIS V. 5. 2. 4 instead of MapWinGIS 5.1.1.1.there were some problems…

Sort out… the method stopped working:
ShapeFile.Labels.LoadFromDbf();
ShapeFile.Labels.SaveToDbf();

SaveToDbf - calls access violation

Method

ObjectsLayer.Labels.Generate(’[label]’, lpCenter, False) ;

does not work for OgrLayer.

There are some problems with labels in version 5.4.2. also, labels do not appear in OgrLayer from SQL database in Mapwindow 5.6.3. However, if you save it as a project, labels are displayed after opening. Apparently, the parameter from XML-LabelsClass Generated= " 1"