Jump to content
shineworld

Refactor rename field fails always

Recommended Posts

Today I'm getting crazy with Delphi Refactor > Rename Field (CTRL + SHIFT + E).
Also starting a new IDE with a dummy project of only one variable the rename field get me the error:
image.thumb.png.00ba959666ba6e4511216da26f51d566.png

 

I don't know because message is in Italian language, but refactor is completly unusable.

It notice that interface {B53A87B3-C809-4390-9BE2-6F1C168CF41D} is not registered.

 

Athens 12.2 Patch 2.

Any idea about that ?

 

 

Edited by shineworld

Share this post


Link to post

Ok but probably other things will go wrong with that.
Seems that Borland.Studio.Interop interfaces are missing.
There is a way to register them again without to reinstall the IDE ?

Share this post


Link to post
2 hours ago, Jirka52 said:

It is much more better to use "mmx".

But MMX works differently. It does not really analyze the code but replaces all matching strings within a given scope (e.g. a procedure) rather than identifiers. That's why it can optionally even replace identifiers mentioned in comments. But it can also replace strings that are not the intended identifier.

  • Like 1

Share this post


Link to post
3 hours ago, shineworld said:

Today I'm getting crazy with Delphi Refactor > Rename Field (CTRL + SHIFT + E).
Also starting a new IDE with a dummy project of only one variable the rename field get me the error:

I start in Delphi using Rad Studio and I missed lots of "voices" of refactoring menu, they are disabled. (CTRl SHITF E) open the search tab (like if you press (CTRL F)).

I don't have that exception.

 

2 hours ago, shineworld said:

Seems that Borland.Studio.Interop interfaces are missing.

My "interop" are inside "bin" folder and there is a TLB file that you can use to register the "type library".

 

image.thumb.png.3c2df7d2d10835cfdd51f854e7c97d87.png

 

 

 

Edited by DelphiUdIT

Share this post


Link to post

How to register a TLB ?
I'm used with regsvr32 DLL file but in this case Borland.Studio.Interop.dll don't is compatibile with regsvr32.

Share this post


Link to post
28 minutes ago, shineworld said:

How to register a TLB ?
I'm used with regsvr32 DLL file but in this case Borland.Studio.Interop.dll don't is compatibile with regsvr32.

You can simply do from IDE (start it with administror privilege):

image.thumb.png.a1341bdb67beeaaf8a895174f7b6b5d3.png

 

Double click on "Register":

 

image.thumb.png.2ba0aefa71b23b33573538ec67e8d2c1.png

Share this post


Link to post

THANKS, I missed this feature !
Now all works fine 🙂

#ITA: grazie mi hai salvato ore ed ore di pena nel dover reinstallare tutto da zero!.

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

×