Mapped and ClassOf problem: Not implemented as required for interface "IDesignLibrary"

  • Visual Studio 2013 8.3.94.1991

To reproduce this error we had to remove units and delete projects in Visual Studio, in the course of these changes have occurred three problems:

  1. Deleting a unit has given us an exception. We had to exit of Visual Studio and open again to remove that unit.
  2. Disabling a project (Unload project) and enabling it (Reload project) is automatically restarted Visual Studio.
  3. Compiling the project with the error that we send, crash Visual Studio, but has not been restarted. Although this does not always happen.

Code:
method RegisterComponents(AGroup: TString; AComponentClasses: array of TViewClass);

Error 1 (E179) Method “method RegisterComponents(AGroup: TString; AComponentClasses: array of TView)” not implemented as required for interface “IDesignLibrary” C:\Mis archivos\Projects\SendaSoft\Oxygene\Bugs\Bugs 2016.05.20 - 1\SendaObjects\SendaDesigner.Sources\App\TDsgnServices.pas 13 3 SendaDesigner.Windows

I attached project and screenshot.
Bug214.rar (1.2 MB)

Best regards,
Jose A.

Thanks, logged as bugs://75266 (IDE issues)

Thanks, logged as bugs://75267 (Compiler)

Hello Jose,

Could you please provide us with a video or steps on what exactly did you remove and what exactly project did you reload. I tried to remove some .pas files (in different projects including Shared). I also tried to unload and reload several projects in the testcase that is attached but didn’t have described problems.

Thanks in advance.

Viktoria,
We can not give the exact steps, but in a separate message we could reproduce one of the problems:

What we have observed is that generally the problems deleting or renaming units are produced when there are a lot of open files in Visual Studio.

Please, what it is very important to us, if possible, is that the problem of Classof and mapped be fixed for the next version of Elements Beta, since is making us difficult keeping on developing our project.

Thank you very much.

Best regards,
Jose A.

I’m going to take a look at it tomorrow. Can’t promise if it will be fixed for fridays beta until i’ve taken a look at it though.

Having checking your projects you have this setup:

SendaObjects.BaseLib.Sources (Shared)
SendaDesigner.DesignLib.Windows (Library, uses Shared)
SendaDesigner.Windows (uses SendaDesigner.DesignLib.Windows AND Shared)

At this point you have two copies of your Shared library. 1 in the library, 1 in the windows dll, which are causing conflicts. Once you resolve these it’s all fixed.

bugs://75267 got closed with status no change required.

Carlo,
The problem has nothing to do with shared projects.
I attached a new solution without the shared projects and a video, which you can see that the problem is an interaction between the mapped parameter and the parameter classof.
Bug214-2.rar (2.9 MB)

Best regards,
Jose A.

bugs://75267 got reopened.

bugs://75267 got closed with status fixed.

thanks! that made it a lot more clear. Fixed for the upcoming beta.

Thank you so much Carlo.

bugs://75266 got closed with status fixed.

Logged as bugs://i63258.

bugs://i63258 was closed as fixed.

bugs://i63259 was closed as fixed.

Logged as bugs://i63259.