Mega Code Archive

 
Categories / Delphi / Activex OLE
 

tactiveformx declaration missing or incorrect error

Question: What does this error mean and how do I solve the problem? Answer: This is usually caused by changing the name of an ActiveForm in the incorrect order (see README.TXT). If the name of the CoClass is changed first and then does a refresh, an AV will occur. Proceeding to use the Object Inspector to change the name of the form will cause "TActiveFormX declaration missing or incorrect". To fix this he will need to open the .DFM file and change the line: object ActiveFormX: TActiveFormX to, object MyForm: TMyForm