Page 1 of 1

Access Violation when setting captions

Posted: Wed Jul 23, 2008 7:35 pm
by 12049678
CodeGear™ C++Builder® 2007 Version 11.0.2987.10779
December 2007 Update
Apr 08 Help Update

TeeChart 8.02

I have been using the TeeChart free version that came with the Borland compilers for years. I bought the latest version yesterday. Now my code won't run, I get access violations when setting Caption properties. Specifically the chart caption or an axis caption.

Sample code:

Code: Select all

      if (m_pChartWindow != NULL)
      {
         TChartWindow& Window = *(m_pChartWindow);

         Window.ParentTest    = this;
         Window.Caption       = stProfile + SideString (m_Config.SpindleLabelStyle, Side);

         TChart& Chart = *Window.pChart;

         Chart.View3D = false;

         Chart.LeftAxis->Labels           = true;
         Chart.LeftAxis->Visible          = true;
         Chart.LeftAxis->Automatic        = true;
         Chart.LeftAxis->Title->Caption   = "";   <-- Access violation here

         Chart.BottomAxis->Labels         = true;
         Chart.BottomAxis->Visible        = true;
         Chart.BottomAxis->Automatic      = true;
         Chart.BottomAxis->Title->Caption = "Sweep Variable";
         
         Chart.Legend->Visible            = true;


         Window.pTbElevation->Position  = 0;
         Window.pTbRotation->Position   = 0;

     } // if
(I have a gif of the call stack where the exception occurs, but I can't figure out how to attach it. )

The exception occurs in this function:

Teengine::TChartAxisTitle::SetCaption(Self=NULL, Value={NULL})

I notice that self is NULL here, yet in the previous line:

Chart.LeftAxis->Automatic = true;

When I step into this code, the call stack shows that Self is not NULL:

Teengine::TChartAxis::SetAutomatic(Self=:0105B2C0, Value=true)


This is production code and I'm dead in the water until I get a solution. I didn't order the source, but if I had it I could probably figure out what's going on. Perhaps teengine.pas is all I need to track down why the caption reference is not being initialized.

Thanks,
Rod Whitehouse

P.S.
There may be a problem with the umpteen other versions that have accumulated on this machine over the years, here's all the version info:

adortl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
ADVAPI32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
appHelp.dll, 5.1.2600.2180, C:\WINDOWS\system32\
applet100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
asmview100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
bcbcompro100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
bcbent100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
bcbide100.bpl, 11.0.2987.10779, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
bcbpro100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
bcbsmp100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
bcbvclide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
bccide.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
bdertl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
bds.exe, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
bordbk105.dll, 105.11.1.12533, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
bordbk105N.dll, 105.11.1.12533, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
boreditu.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Build.Tasks.Common.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Build.Tasks.Cpp.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Build.Tasks.Delphi.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Build.Tasks.Shared.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Delphi.dll, 11.0.2902.10471, C:\WINDOWS\assembly\GAC_MSIL\Borland.Delphi\11.0.5000.9245__91d62ebb5b0d1b1b\
Borland.Globalization.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.JSCI.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.SCI.Impl.Cpp.dll, 0.0.0.0, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.SCI.Impl.Delphi.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.SCI.Impl.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.SCI.Impl.MSIL.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.SCI2.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Cpp.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Cpp.Structure.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Delphi.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Delphi.Gate.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Host.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Interop.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Refactoring.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Together.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.ToolsAPI.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Studio.Vcl.Design.Refactoring.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Actions.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Core.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.CoreResources.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.DesignModel.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Diagram.Basics.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Diagram.Core.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.DiagramClass.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.DiagramExtensions.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.DiagramInteraction.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.DrawingSurface.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.HyperLinks.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.InternalAPI.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.LanguageSupport.Cpp.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.LanguageSupport.Delphi.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.LanguageSupport.MSIL.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Model3.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.ModelBasics.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.ModelPerformers.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.ModelView.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Ocl.Model.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.OpenAPI3.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Refactoring.API.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Refactoring.Manager.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Refactoring.Platform.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Refactoring.Plugins.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.Refactoring.Plugins.UI.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.UMLDiagrams1x.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.UMLDiagrams20.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.VFS.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.Together.XMLExport.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Borland.VclRtl.dll, 11.0.2902.10471, C:\WINDOWS\assembly\GAC_MSIL\Borland.VclRtl\11.0.5000.9245__91d62ebb5b0d1b1b\
borlndmm.dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
BrcIde.Dll, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
browseui.dll, 6.0.2900.3121, C:\WINDOWS\system32\
CC3280MT.DLL, 8.0.0.2, C:\WINDOWS\system32\
CLBCATQ.DLL, 2001.12.4414.308, C:\WINDOWS\system32\
codeguardide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
codetemplates100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
comcore100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
comctl32.dll, 6.0.2900.2982, C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\
comdlg32.dll, 6.0.2900.2180, C:\WINDOWS\system32\
COMP32X.DLL, 5.9.3.0, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
COMRes.dll, 2001.12.4414.258, C:\WINDOWS\system32\
coreide100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
coreproide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
CRYPT32.dll, 5.131.2600.2180, C:\WINDOWS\system32\
DataExplorer100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
davclnt.dll, 5.1.2600.2180, C:\WINDOWS\System32\
dbexpress4100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
dbkdebugide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
dbkdebugproide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dbrtl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
dbx100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
DbxClientDriver100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
DbxCommonDriver100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
DbxDynalinkDriver100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
DbxReadOnlyMetaData100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
dcc100.dll, 11.0.2963.11001, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
dcl31w100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclact100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclado100.bpl, 10.0.2151.25345, C:\Program Files\Borland\BDS\4.0\Bin\
dclbcbsmp100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclbde100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dcldb100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
dclemacsedit100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclmlwiz100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclnet100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
dclsmpedit100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclsoap100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
dclstd100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
DclTee811.bpl, 8.0.1.0, C:\Program Files\Steema Software\TeeChart Standard 8 for Delphi 2007\Delphi11\Bin\
dclwbm100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
dclwebsnap100.bpl, 6.0.0.0, c:\program files\codegear\rad studio\5.0\bin\
delphicoreide100.bpl, 11.0.2987.10779, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
delphidotnetcore100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
DelphiProvider.dll, 11.0.2902.10471, C:\WINDOWS\assembly\GAC_MSIL\DelphiProvider\11.0.5000.9245__91d62ebb5b0d1b1b\
delphivclide100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
designide100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
DotNetCoreAssemblies100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
dotnetcoreide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
drprov.dll, 5.1.2600.2180, C:\WINDOWS\System32\
dsnap100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
dsnapcon100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
exceptiondiag100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
fileexplorer100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
fusion.dll, 2.0.50727.1433, c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
GDI32.dll, 5.1.2600.3316, C:\WINDOWS\system32\
gdiplus.dll, 5.1.3102.2180, C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\
historyide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
htmide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
HTMLDlgs100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
htmlhelp2100.bpl, 11.0.2987.10779, c:\program files\codegear\rad studio\5.0\Bin\
htmltidy100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
idectrls100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
idefilefilters100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
iertutil.dll, 7.0.6000.16674, C:\WINDOWS\system32\
IMAGEHLP.DLL, 5.1.2600.2180, C:\WINDOWS\system32\
imm32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
inet100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
inetdb100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
inetdbbde100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
inetdbxpress4100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
intl3_tsvn.dll, 0.14.4.0, C:\Program Files\TortoiseSVN\bin\
iphlpapi.dll, 5.1.2600.2912, C:\WINDOWS\system32\
kernel32.dll, 5.1.2600.3119, C:\WINDOWS\system32\
libapr_tsvn.dll, 1.2.12.0, C:\Program Files\TortoiseSVN\bin\
libaprutil_tsvn.dll, 1.2.12.0, C:\Program Files\TortoiseSVN\bin\
libtidy.dll, , C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Microsoft.Build.Engine.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.Build.Eng#\9710a3c0d11dd264c3a6b88977699e9b\
Microsoft.Build.Framework.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.Build.Fra#\e2858a45971fb30b0c0523dbb52c1d4e\
Microsoft.Build.Tasks.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.Build.Tas#\63d69ffdf3c640d2d104a4b74e8115f8\
Microsoft.Build.Utilities.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Microsoft.Build.Uti#\11cb5418c06e30100616fbf205588489\
midimap.dll, 5.1.2600.2180, C:\WINDOWS\system32\
MLCC100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
mpr.dll, 5.1.2600.2180, C:\WINDOWS\system32\
MSACM32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
msacm32.drv, 5.1.2600.0, C:\WINDOWS\system32\
MSASN1.dll, 5.1.2600.2180, C:\WINDOWS\system32\
mscoree.dll, 2.0.50727.1433, c:\WINDOWS\system32\
mscorjit.dll, 2.0.50727.1433, c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
mscorlib.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\32e6f703c114f3a971cbe706586e3655\
mscorwks.dll, 2.0.50727.1433, c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
MSCTF.dll, 5.1.2600.3319, C:\WINDOWS\system32\
msctfime.ime, 5.1.2600.2180, C:\WINDOWS\system32\
MSGINA.dll, 5.1.2600.2180, C:\WINDOWS\system32\
msimg32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
msv1_0.dll, 5.1.2600.2180, C:\WINDOWS\system32\
MSVCP60.dll, 6.2.3104.0, C:\WINDOWS\system32\
MSVCP90.dll, 9.0.30411.0, C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30411.0_x-ww_71382c73\
MSVCR71.dll, 7.10.3052.4, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
MSVCR80.dll, 8.0.50727.1433, C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.1433_x-ww_5cf844d2\
MSVCR90.dll, 9.0.30411.0, C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30411.0_x-ww_71382c73\
msvcrt.dll, 7.0.2600.2180, C:\WINDOWS\system32\
MSWSOCK.dll, 5.1.2600.3394, C:\WINDOWS\system32\
msxml4.dll, 4.20.9848.0, c:\WINDOWS\system32\
NETAPI32.dll, 5.1.2600.2976, C:\WINDOWS\system32\
NETRAP.dll, 5.1.2600.2180, C:\WINDOWS\System32\
NETUI0.dll, 5.1.2600.2180, C:\WINDOWS\System32\
NETUI1.dll, 5.1.2600.2180, C:\WINDOWS\System32\
Normaliz.dll, 6.0.5441.0, C:\WINDOWS\system32\
ntdll.dll, 5.1.2600.2180, C:\WINDOWS\system32\
ntlanman.dll, 5.1.2600.2180, C:\WINDOWS\System32\
ODBC32.dll, 3.525.1117.0, C:\WINDOWS\system32\
odbcint.dll, 3.525.1117.0, C:\WINDOWS\system32\
ole32.dll, 5.1.2600.2726, C:\WINDOWS\system32\
oleacc.dll, 4.2.5406.0, C:\WINDOWS\system32\
oleaut32.dll, 5.1.2600.3266, C:\WINDOWS\system32\
oledlg.dll, 5.1.2600.3016, C:\WINDOWS\system32\
olepro32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
plugview100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
projecttargets100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
PSAPI.DLL, 5.1.2600.2180, C:\WINDOWS\system32\
RASAPI32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
rasman.dll, 5.1.2600.2180, C:\WINDOWS\system32\
refactoride100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
RICHED20.dll, 5.30.23.1228, C:\WINDOWS\system32\
RICHED32.DLL, 5.1.2600.0, C:\WINDOWS\system32\
RPCRT4.dll, 5.1.2600.3173, C:\WINDOWS\system32\
rsaenh.dll, 5.1.2600.2161, C:\WINDOWS\system32\
rtl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
rtutils.dll, 5.1.2600.2180, C:\WINDOWS\system32\
SAMLIB.dll, 5.1.2600.2180, C:\WINDOWS\System32\
sanctuarylib.dll, , C:\Program Files\CodeGear\RAD Studio\5.0\bin\
Secur32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
sensapi.dll, 5.1.2600.2180, C:\WINDOWS\system32\
SETUPAPI.dll, 5.1.2600.2180, C:\WINDOWS\system32\
shell32.dll, 6.0.2900.3241, C:\WINDOWS\system32\
SHFOLDER.dll, 6.0.2900.2180, C:\WINDOWS\system32\
shgina.dll, 6.0.2900.2180, C:\WINDOWS\system32\
SHLWAPI.dll, 6.0.2900.3121, C:\WINDOWS\system32\
soaprtl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
startpageide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
sxs.dll, 5.1.2600.3019, C:\WINDOWS\system32\
System.Configuration.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Configuration\eee9b48577689e92db5a7b5c5de98d9b\
System.Data.dll, 2.0.50727.1433, C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\
System.Data.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Data\5f669e819da7010c1dca347a25597c42\
System.Design.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Design\c1e16b40e30a05c39be8aee46311841c\
System.Drawing.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Drawing\0e83aac37b2623f1a24c70979f31dd56\
System.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\ba0e3a22211ba7343e0116b051f2965a\
System.Windows.Forms.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\3d8c79c45aa674e43f075e2e66b8caf5\
System.Xml.ni.dll, 2.0.50727.1433, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Xml\c98cb65a79cfccb44ea727ebe4593ede\
TAPI32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
Tee811.bpl, 8.0.1.0, C:\WINDOWS\system32\
TeeDB811.bpl, 8.0.1.0, C:\WINDOWS\system32\
TeeUI811.bpl, 8.0.1.0, C:\WINDOWS\system32\
TGIDE100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
tlbview100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
tlib100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
todoide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\bin\
TortoiseOverlays.dll, 1.0.4.11886, C:\Program Files\Common Files\TortoiseOverlays\
TortoiseStub.dll, 1.5.0.13316, C:\Program Files\TortoiseSVN\bin\
TortoiseSVN.dll, 1.5.0.13316, C:\Program Files\TortoiseSVN\bin\
unittestide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
URLMON.DLL, 7.0.6000.16674, C:\WINDOWS\system32\
USER32.dll, 5.1.2600.3099, C:\WINDOWS\system32\
USERENV.dll, 5.1.2600.2180, C:\WINDOWS\system32\
uxtheme.dll, 6.0.2900.2180, C:\WINDOWS\system32\
vcl100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vclactnband100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vcldb100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vcldbx100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vcldesigner100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
vclhie100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
vclide100.bpl, 11.0.2902.10471, C:\Program Files\CodeGear\RAD Studio\5.0\bin\
vcliex100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vclimg100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vcljpg100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
vclmenudesigner100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
vclx100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
version.dll, 5.1.2600.2180, C:\WINDOWS\system32\
vjscor.ni.dll, 2.0.50727.42, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\vjscor\3ec6ad2c76a5f150415c0262df1c6a61\
vjslib.ni.dll, 2.0.50727.42, C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\vjslib\706a48380549750ee1305b7b57b38148\
vjsnativ.dll, 2.0.50727.42, c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\
wdmaud.drv, 5.1.2600.2180, C:\WINDOWS\system32\
webdsnap100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
websnap100.bpl, 11.0.2902.10471, C:\WINDOWS\system32\
win32debugide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
win32debugproide100.bpl, 11.0.2902.10471, c:\program files\codegear\rad studio\5.0\Bin\
wininet.dll, 7.0.6000.16674, C:\WINDOWS\system32\
winmm.dll, 5.1.2600.2180, C:\WINDOWS\system32\
winspool.drv, 5.1.2600.2180, C:\WINDOWS\system32\
WINSTA.dll, 5.1.2600.2180, C:\WINDOWS\system32\
WINTRUST.dll, 5.131.2600.2180, C:\WINDOWS\system32\
WLDAP32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
WS2_32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
WS2HELP.dll, 5.1.2600.2180, C:\WINDOWS\system32\
wsock32.dll, 5.1.2600.2180, C:\WINDOWS\system32\
xmlrtl100.bpl, 11.0.2987.10779, C:\WINDOWS\system32\
xpsp2res.dll, 5.1.2600.2180, C:\WINDOWS\system32\

Version 8.02 is really 8.01

Posted: Wed Jul 23, 2008 7:43 pm
by 12049678
I thought I was using version 8.02, all the download pages said 8.02, but it is really 8.01. If that makes any difference.

Posted: Thu Jul 24, 2008 9:02 am
by narcis
Hi Rod,

This works fine for me here using v8.03 which is currently in release candidate mode. I'll send you the URL to download the installer.

BTW: I recommend you to use code below instead of LeftAxis which is deprecated.

Code: Select all

	Chart1->Axes->Left->Title->Caption=""

Posted: Thu Jul 24, 2008 7:20 pm
by 12049678
I solved the problem with the include paths by manually editing the include paths, apparently the quotes put in by the installer are "bad", but the exception remains.

I created a test project with a chart and everything works fine. I checked with the debugger and CPU window, and what I see is that the offset of the Axes field is coded as 0x354 bytes from the base of the chart object. In the test program, that's where it is in memory. In the problem program, the fields is at offset 0x35c! How this could change, I have no idea. The debugger apparently knows this and displays the fields correctly but the code generator doesn't and codes the offset as 0x354, picking up an unassigned event field.

How a compiled object can change it's memory layout is way outside of my experience, but the fact that the debugger knows about it leads me to think it's a compiler bug.

Now I'm ready to give up and go back to the old, free version, which I couldn't get to work on a new computer, which started this whole process. Is there an installer for the free version available so I can get back to getting product out the door?

Rod

Need to restore version 4.04!

Posted: Thu Jul 24, 2008 10:46 pm
by 12049678
Help, please. I REALLY need to get some work done and I don't have time figure out what's up with the latest version. You installer wiped out the old installation pretty good, so I can't restore it.

I do have one machine I didn't "upgrade" so I'm trying to take the files from that machine to restore the others. But I can't seem to locate the libraries.

I've managed to locate these files:

dcltee.dcp
dcltee100.bpl
dcltee100.jdbg
tee100.bpl
tee100.jdbg
tee7100.bpl
teedb100.bpl
teedb100.jdbg
teedb7100.bpl
teeui100.bpl
teeui100.jdbg
teeui7100.bpl

tee.bpi
tee.lib
teedb.bpi
teedb.lib
teeui.bpi
teeui.lib

And put them in the library path, but the program won't link, so I must be missing some, unless there's some trick-they need to be registered or in some special place to be recognized.

Please, what I really need is complete list of the files in the 4.04 distribution and any registry keys or whatnot that is needed so to make them work.

Please. Soon.

Posted: Mon Jul 28, 2008 9:43 am
by narcis
Hi Rod,

You should install bpl files at Project->Options->Packages list. Also, the installer should have created a backup folder in Delphi/C++ Builder folders.