Fails to load after recompilation in XE 2 update 4 hf 1

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Dr Stone
Newbie
Newbie
Posts: 7
Joined: Tue Aug 07, 2012 12:00 am

Fails to load after recompilation in XE 2 update 4 hf 1

Post by Dr Stone » Mon Oct 22, 2012 12:25 pm

After applying the embarcadero hotfix 1 to update 4 in XE2, the teechart needed to be recompiled. So I run the teerecompile.exe, which run OK, but when I start XE2, it fails to load the compiled package with the following error in the attached image file. How can this be fixed?
Attachments
XE2error.jpg
XE2error.jpg (56.73 KiB) Viewed 6081 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Yeray » Mon Oct 22, 2012 1:46 pm

Hi,

I see you have many 3rd party tools installed in the IDE. I'd suggest you to unselect any item in the list corresponding to a component that you may suspect to be using TeeChart.
If you find an item that unselecting it allows you to select and use the just recompiled TeeChart version, you will have to also rebuild that component if you want to use it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dr Stone
Newbie
Newbie
Posts: 7
Joined: Tue Aug 07, 2012 12:00 am

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Dr Stone » Mon Oct 22, 2012 3:11 pm

I unselected all of the other components and still get the same error.
Attachments
Charterror.jpg
Charterror.jpg (62.15 KiB) Viewed 6050 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Yeray » Tue Oct 23, 2012 9:23 am

Hi,

What TeeChart release are you using?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dr Stone
Newbie
Newbie
Posts: 7
Joined: Tue Aug 07, 2012 12:00 am

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Dr Stone » Fri Oct 26, 2012 1:22 pm

Release Notes 13th June 2012
TeeChart VCL version 2012
Build 2012.06.120613

I had to reinstall the teechart. So, something must be off with the teerecompile.exe. I also have BDS2006 installed, maybe this confuses it?

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Yeray » Fri Oct 26, 2012 3:43 pm

Hi,
Dr Stone wrote:I had to reinstall the teechart. So, something must be off with the teerecompile.exe.
I'm not sure to understand if you could finally solve it or not.
This kind of problems usually indicate the IDE has some reference from an older version still being loaded in the packages list or in the library or search path (in some of the personalities). Please check the IDE is clean of references to old installations.
Dr Stone wrote:I also have BDS2006 installed, maybe this confuses it?
No, it shouldn't interfere. We have here machines with a dozen IDEs (from BCB5 to RAD XE3) and TeeChart installed in all them.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dr Stone
Newbie
Newbie
Posts: 7
Joined: Tue Aug 07, 2012 12:00 am

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Dr Stone » Sat Oct 27, 2012 9:26 pm

Finally I found what the problem was: if I manually copy the *.bpl from the Compiled\Delphi16.win32\System to windows\system32 and to windows\SysWOW64 everything works. So, the teerecompile does not do this automatically on my system, which is a windows server, even when it runs in the admin mode. Did I do it right and do I need to put an extra copy elsewhere? Where exactly are BPLs supposed to be copied and stored? Where does the BDS pick them up from? Thank you.

Dr Stone
Newbie
Newbie
Posts: 7
Joined: Tue Aug 07, 2012 12:00 am

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Dr Stone » Sat Oct 27, 2012 9:51 pm

It also works fine if I delete the bpls from windows/system32 and syswow64 and just place them elsewhere, for example the same embarcadero bin folder or any other folder in the system path. Not sure why the teechart installer decided to spread them around the multiple windows system folders.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Fails to load after recompilation in XE 2 update 4 hf 1

Post by Yeray » Tue Oct 30, 2012 9:03 am

Hi,

Right, the runtime libraries are supposed to be found at:
- Windows/System32, for 32bit OS.
- Windows/System32, for 64bit applications in 64bit OS.
- Windows/SysWOW64, for 32bit applications in 64bit OS.

Both TeeRecompile and TeeInstall utilities try to copy them into the according folders above. However, it seems it failed for some reason in your system.
It may be due to some security software (antivirus, antispyware, antimalware,...) running on the machine, besides to a lack of privileges you checked.
If you still have problems with it, please tell us what exact OS are you running so we can check it here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply