Page 1 of 1

installed bpl not found at first try

Posted: Wed Sep 01, 2010 5:30 am
by 16556662
Hello

BDS2006+TeeChart Pro 2010.

I have a strange problem, that I first installed the binary delivery, everything fine. Then due to some strange exception, I installed the source code version and compile/install it.

then I found that if I open a project, BDS will tell me that the two Teechart Pro package bpl not found, even I can see them loaded in the "component" menu.

The way is first click "cancel" button, not opening any form (to avoid component be deleted), then open the project again, and TeeChart component was shown correctly.

attach is an exception call stack raised by BSD

Code: Select all

 + $36[2001A337]{rtl100.bpl  } SysUtils.SysUtils.LoadPackage (Line 16201, "sys\sysutils.pas" + 12) + $36
 + $8[20C3D7E0]{coreide100.bpl} PakLoad.PakLoad.TPackage.DoLoadPackage (Line 150, "PakLoad.pas" + 0) + $8
 + $2[20C0BBE9]{coreide100.bpl} PakMgr.PakMgr.TDesignPackage.Load (Line 585, "PakMgr.pas" + 2) + $2
 + $3[21BCBA70]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 827, "PasCppPakMgr.pas" + 4) + $3
 + $4[21BCF837]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TProfileData.LoadIntersectingPackageGroups (Line 2010, "PasCppPakMgr.pas" + 20) + $4
 + $6[21BCBDB6]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 885, "PasCppPakMgr.pas" + 62) + $6
 + $4[21BCB855]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.DelayLoad (Line 747, "PasCppPakMgr.pas" + 11) + $4
 + $5[21BDDB80]{delphicoreide100.bpl} PakList.PakList.TPackageListItem.LoadDesignPackage (Line 767, "PakList.pas" + 15) + $5
 + $3[21BDD18B]{delphicoreide100.bpl} PakList.PakList.TPackageListItem.SetIsInstalled (Line 533, "PakList.pas" + 7) + $3
 + $5[21BDCF5F]{delphicoreide100.bpl} PakList.PakList.TPackageList.AddPackage (Line 447, "PakList.pas" + 13) + $5
 + $5[21BE5D76]{delphicoreide100.bpl} BasePasProjOpts.BasePasProjOpts.TProjOptsManager.InstallPackage (Line 1848, "BasePasProjOpts.pas" + 8) + $5
 + $3[21BE6853]{delphicoreide100.bpl} BasePasProjOpts.BasePasProjOpts.TProjectOptions.InstallPackage (Line 2251, "BasePasProjOpts.pas" + 0) + $3
 + $5[21BD7FDC]{delphicoreide100.bpl} PkgContainers.PkgContainers.TStdPackageProjectContainer.CommandHandler (Line 141, "PkgContainers.pas" + 4) + $5
 + $6[20BD5BBA]{coreide100.bpl} Containers.Containers.TStdProjectContainer.CommandHandler (Line 1942, "Containers.pas" + 0) + $6
 + $5[20132BBD]{vcl100.bpl  } Menus.Menus.TPopupList.MainWndProc (Line 3779, "Menus.pas" + 2) + $5
 + $0[20040E4C]{rtl100.bpl  } Classes.Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
 + $6A[7E418731]{USER32.dll  } GetDC + $6A
 + $14A[7E418811]{USER32.dll  } GetDC + $14A
 + $122[7E4189C8]{USER32.dll  } GetWindowLongW + $122
 + $A[7E4196C2]{USER32.dll  } DispatchMessageA + $A

Re: installed bpl not found at first try

Posted: Thu Sep 02, 2010 2:29 pm
by yeray
Hi Liang,

Does the demo in the binary work fine?
Does a new simple project without any chart compile and run fine?
Does a new simple project with only a chart in the form compile and run fine?

It will probably be due to some conflict in the search/library paths so I recommend you to check them manually.

Re: installed bpl not found at first try

Posted: Fri Sep 03, 2010 1:24 pm
by 16556662
Hello

I have upgraded my Teechart from v8 to v2010 under BDS2006

I first uninstall the v8, rename all the old folder to make them not qualified for BDS, and install the binary package. The demo works fine.

And I have a very complicated project extensively uses Teechart. Upgrade is also a success without problem.

But then I found very strange cases, that after upgrade to v2010, sometimes I have very strange "access voilation", which seems to be related to an unknown component's "Show".

So I rename the binary installation package folder, and then install the source code version, recompile and install it. Try to find back the missing TeeGDIPlus component.

Then I have such strange "bpl not found at first try" problem.

Today I am very bored at "opening twice", so I uninstall all the Teechart components. Delete all the TeeChart folders, delete old backup of TeeChart, re-install all my own components under the environment without Teechart installed to avoid package linkage corruption.

The I installed the binary version.

Now the case is

1. bpl is loaded correctly. I need not to play "opening twice" trick.
2. but still I can not see TeeGDIPlus components.

Re: installed bpl not found at first try

Posted: Mon Sep 06, 2010 4:23 pm
by yeray
Hi Liang,

The TeeGDIPlus components in C++ personalities is a known problem we are trying to solve:
http://www.teechart.net/support/viewtop ... 792#p47202