Strange problem with Registerclass

Asked

Viewed 54 times

1

I have a very strange problem.

I have 2 projects Delphi, both are with build with Runtime Packages to false.

It happens that the Registerclass process does not work in one of the projects, causing the Getclass Function to return nil to a given form.

Does anyone have any tips ? I’ve been searching for hours and I can’t find anything.

As I said, I have another project and in one of them the Registerclass works.

Somebody please help me.

  • Forms have the same class name? It is not possible, according to the documentation, to use the same identifier for separate calls to RegisterClass. link of documentation.

  • the problem is not that since I have no form with same name in the project.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.