Board index » delphi » Access Violation Delphi 7 In ntdll.dll

Access Violation Delphi 7 In ntdll.dll


2003-07-08 11:54:40 AM
delphi220
I am getting an access violation in ntdll.dll somewhere between the 2
following lines:
Application.CreateForm(Tform, form);
form.ShowModal;
This only happens with 1 specific form (that I found so far). Other
ShowModal commands do execute. I did not have this problem with D5 (I just
upgraded).
My OS is W2K Prof. Does anyone know what would cause this problem or what
ntdll.dll actually does.
Thanks.
Mark S
 
 

Re:Access Violation Delphi 7 In ntdll.dll

Thanks Nick,
I did take you advice. Eventually I did discover the problem. I can't
explain what happened but I traced the issue to a DBLookupComboBox on the
form. I deleted the existing one and replaced it with a new one and the
problem went away.
Thanks again.
Mark S
"Nick Hodges (TeamB)" <XXXX@XXXXX.COM>writes
Quote
On Mon, 7 Jul 2003 20:54:40 -0700, "Orbit Mark"
<XXXX@XXXXX.COM>writes:

>Does anyone know what would cause this problem or what
>ntdll.dll actually does.

The error is very likely in your code, but merely manifests itself in
ntdll.dll.

Since you said that it happens with only one form in particular, I'd
start debugging in the constructor, or the OnCreate event handler for
that form.


Nick Hodges - TeamB
Lemanix Corporation
Please always follow the newsgroup guidelines --
www.borland.com/newsgroups