Solved

'Form is not registered' error message

Posted on 1999-01-14
2
138 Views
Last Modified: 2010-04-06
I am working on an app that I did not write, and occasionally users start getting an error message that reads 'Form is not registered'.  I've looked through the source for the app and the VCL and can't find any reference to this error.  Any ideas?

Thanks in advance...
0
Comment
Question by:comma011499
2 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1356636
Hmm. Perhaps the application uses an ActiveX or COM object. These kind of objects are implemented in a DLL file and need to be registered by calling "regsvr32 file.dll".

Regards, Madshi.
0
 
LVL 2

Accepted Solution

by:
Thaddy earned 50 total points
ID: 1356637
Nope, got nothing to do with ocx's.
This exception means that a Tform(x) instance called 'Form'(probably) is trying to create itself at runtime, but the class has no other instance. This in turn means, that it is not registered with the RTTI mechanism, which causes this error:
Delphi does not know how to create this form because it can't find any type information.
The most likely cause is that somehow somewhere a form that was there during development has gone..(and is now only created at runtime..)
No problem really: try to locate any runtime created forms.
Then, in the initialization section, call 'Registerclass'(es)with the classname of the form.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JSON on ISAPI REST Server using Delphi 2 229
Help on project with Soap 10 48
Controlled Assessment GCSE - desperate help needed 4 75
Delphi inherited method 6 62
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now