Page 1 of 1

AV in ntdll.dll

Posted: Mon Apr 17, 2006 8:40 pm
by 9345764
I am having problems making TeeChart 706 Pro work with QuickReport4 Pro in D2006 Pro.

I follow instructions, adapt TeeQR710.dpk and replace qrpt by QR4runD2006.dcp. Build it (bpl goes to standard ..\Borland Studio Projects\bpl). No problem here.

Next I open DCLTQR710.dpk and try to build. Error: DclTee710 not found. I need to replace this with 'DclTeePro710.dcp' . Correct ?
Anyway, then it builds fine. Next I try to install the package: error 'DclTeePro710.bpl' not found. Ok, this makes sense, so I copy 'DclTeePro710.bpl' to the ..\Borland Studio Projects\bpl folder. Funny thing I notice: in the package list in D2006 now also the path is ..\Borland Studio Projects\bpl\DclTeePro710.bpl.

I then again attempt to install and get the error (AV in ntdll.dll) copied below. After some re-installs sometimes I manage to install it, but then after copying a QRchart on a TQuickreport, I get the same error.

What am I doing wrong here?
I have seen some posts from others with similar errors but no solution.


Access violation at address 7C901010 in module 'ntdll.dll'. Read of address 0000001C

+ $B[7C901010]{ntdll.dll } RtlEnterCriticalSection + $B
+ $0[51F06B47]{rtl100.bpl } System.System.@HandleAnyException (Line 9980, "system.pas" + 13) + $0
+ $41[7C903786]{ntdll.dll } RtlConvertUlongToLargeInteger + $41
+ $9[7C90EAF5]{ntdll.dll } KiUserExceptionDispatcher + $9
+ $0[51F072CA]{rtl100.bpl } System.System.@PackageLoad (Line 11435, "system.pas" + 8) + $0
+ $5[51F1A0F7]{rtl100.bpl } SysUtils.SysUtils.LoadPackage (Line 16134, "sysutils.pas" + 18) + $5
+ $8[20C3BA68]{coreide100.bpl} PakLoad.PakLoad.TPackage.DoLoadPackage (Line 150, "PakLoad.pas" + 0) + $8
+ $2[20C0A325]{coreide100.bpl} PakMgr.PakMgr.TDesignPackage.Load (Line 583, "PakMgr.pas" + 2) + $2
+ $3[21B9BA30]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 821, "PasCppPakMgr.pas" + 4) + $3
+ $4[21B9F78B]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TProfileData.LoadIntersectingPackageGroups (Line 2001, "PasCppPakMgr.pas" + 20) + $4
+ $6[21B9BD76]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 879, "PasCppPakMgr.pas" + 62) + $6
+ $4[21B9F78B]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TProfileData.LoadIntersectingPackageGroups (Line 2001, "PasCppPakMgr.pas" + 20) + $4
+ $6[21B9BD76]{delphicoreide100.bpl} PasCppPakMgr.PasCppPakMgr.TIDEDesignPackage.Load (Line 879, "PasCppPakMgr.pas" + 62) + $6
+ $2[20C0AFB7]{coreide100.bpl} PakMgr.PakMgr.TDesignPackages.LoadDelayLoadPackage (Line 926, "PakMgr.pas" + 2) + $2
+ $4[21B98591]{delphicoreide100.bpl} CompPalMgr.CompPalMgr.TComponentPalettePageItemDelegate.CreateComponent (Line 2478, "CompPalMgr.pas" + 1) + $4
+ $17[00358979]{designide100.bpl} ComponentDesigner.ComponentDesigner.TComponentRoot.DoCreateComponent (Line 2283, "ComponentDesigner.pas" + 10) + $17
+ $32[0035DDC2]{designide100.bpl} ComponentDesigner.ComponentDesigner.TComponentRoot.CreateCurrentComponent (Line 4331, "ComponentDesigner.pas" + 2) + $32
+ $11[0036DDBA]{designide100.bpl} Surface.Surface.TDesignSurface.CreateItem (Line 187, "Surface.pas" + 1) + $11
+ $F[00343C76]{designide100.bpl} Designer.Designer.TDesigner.DoDragCreate (Line 764, "Designer.pas" + 1) + $F
+ $3[003443F8]{designide100.bpl} Designer.Designer.TDesigner.DragEnd (Line 929, "Designer.pas" + 19) + $3
+ $2[00346798]{designide100.bpl} Designer.Designer.TDesigner.MouseUp (Line 1680, "Designer.pas" + 1) + $2
+ $6[04DAA782]{vcldesigner100.bpl} VCLSurface.VCLSurface.TVclDesignSurface.IsDesignMsg (Line 3050, "vclsurface.pas" + 34) + $6
+ $21[5203876F]{vcl100.bpl } Controls.Controls.TControl.WndProc (Line 5064, "Controls.pas" + 4) + $21
+ $6[5203C998]{vcl100.bpl } Controls.Controls.TWinControl.WndProc (Line 7242, "Controls.pas" + 101) + $6
+ $5[520511CD]{vcl100.bpl } Forms.Forms.TCustomForm.WndProc (Line 3284, "Forms.pas" + 125) + $5
+ $C[22193DF7]{delphivclide100.bpl} VCLFormContainer.VCLFormContainer.TControlSizer.ControlWndProc (Line 305, "VCLFormContainer.pas" + 33) + $C
+ $6[5203C150]{vcl100.bpl } Controls.Controls.TWinControl.MainWndProc (Line 7021, "Controls.pas" + 3) + $6
+ $0[51F40BB0]{rtl100.bpl } Classes.Classes.StdWndProc (Line 11572, "classes.pas" + 8) + $0
+ $6A[77D48731]{USER32.dll } GetDC + $6A
+ $14A[77D48811]{USER32.dll } GetDC + $14A
+ $122[77D489C8]{USER32.dll } GetWindowLongW + $122
+ $A[77D496C2]{USER32.dll } DispatchMessageA + $A

Posted: Tue Apr 18, 2006 10:15 am
by narcis
Hi wvisser,

This is most likely to be a windows problem since ntdll.dll is a windows file. Which windows version are you using? You could try installing all your windows service packs and updates available.

Posted: Tue Apr 18, 2006 9:13 pm
by 9345764
I am running XP Pro SP2. No problems at all with any other software.
I have seen posts on AV's ntdll.dll.

Have I done all correct as described above (with copying the DclTeePro710.bpl to the Projects/BPL folder) ?

Have you seen similar problems before? Should I repair Windows and reinstall SP's etc.?
What other updates in XP do you recommend?

What can I learn from the error information?

rgrds, Wilfried

Posted: Fri Apr 28, 2006 7:44 am
by narcis
Hi Wilfried,

Can you please test if with latest v7.07 release the error occurs? TeeRecompile tool included with the source code version checks if you have QR v4 installed and if so automatically compiles TQRChart.

Posted: Fri Apr 28, 2006 9:14 am
by 8572133
Problem is solved.
The problem was caused by conflicts with other packages (D2006 packages finding old D7 packages in the \system32 dir).

Still remarkeable however that other packages were not affected: maybe due to the order of loading design time packages....