Jump to content
dmitrybv

Does RAD Studio support dots in package names?

Recommended Posts

Hello.

 

I created a runtime package called EhLib.Rtl.dpk.

Compiled the package in RAD Studio.

 

As a result, the file

DclEhLib.Rtl260.bpl was created in the folder

C:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl\

And

EhLib.Rtl.lib

EhLib.Rtl.dcp

EhLib.Rtl.bpi

C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp\

 

When I create Delphi applications, I can use the components from the package without any problems.

 

But when I create and try to compile a C++ Builder application, the compiler gives an error.

 

[ilink32 Error] Fatal: Unable to open file 'MEMTABLEDATAEH.OBJ'

MEMTABLEDATAEH is a module from the EhLib.Rtl package.

It seems that the project does not see the EhLib.Rtl.bpi package.

 

The Project-Options-Packages-Runtime Packages-Runtime package import libraries section shows that RAD Studio added the EhLib package to the package list instead of the EhLib.Rtl package.

When I try to manually add the EhLib.Rtl.bpi package to the list, it adds the EhLib package, thus cutting off all the text after the first dot.

 

Manually entering the EhLib.Rtl or EhLib.Rtl.pbi package into the package list does not solve the problem, and the compiler returns the same error.

 

Thus, there is a suspicion that RAD Studio in C++ Builder mode does not support the dot in the package file name. Although when creating a package with a point, RAD Studio did not give any errors.

sshot-35.png

 

 

Tested in Embarcadero® RAD Studio 10.3 Version 26.0.36039.7899

Tested in Embarcadero® RAD Studio 12 Version 29.0.53982.0329 

Edited by dmitrybv

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×