Solved

'Form is not registered' error message

Posted on 1999-01-14
2
141 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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