Solved

Design time ntdll.dll error with Delphi components

Posted on 2011-02-19
5
1,178 Views
Last Modified: 2012-06-27
Hi,

I have a set of components that when installed in a Windows 7 computer, either 32 or 64 bits, causes an error when closing Delphi, any Delphi version.
This does not happen when running on Windows XP.
The problem occurs just by having the component installed, not even is needed to run an application, or compile. Just by been there, I get the error on Delphi closing.

I want to track the source of the error, but I have no idea where to start.
I mean, how do I debug that? It's a design time error.





0
Comment
Question by:fischermx
5 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 34935582
Is Win 7 one of the component's supported environment?
Could you provide description/links/source code of that component?
Components at design time can execute some code (set or change some properties) when that cannot call the relevant function in the process (for any reason) you get errors and strange behavior.
The ntdll.dll errors can be an incompatibility between the component and the OS, Registry problem, or even a bug in the component.
0
 
LVL 13

Assisted Solution

by:F Igor
F Igor earned 200 total points
ID: 34936609
Please send a screen capture of that error while closing.
If your account on Win7 is not "Administrator" Check if Delphi works fine running as admin.
Using the "Run as..." context menu or login using an administrative account.
Also you can try to modify the properties of the shortcut to Delphi in the "Compatibility" tab.


0
 
LVL 1

Author Comment

by:fischermx
ID: 34937974
I'm very sorry for the so general description. I see I was not clear that I'm the developer! :(

So, your question "Is Win7 a supported environment?"
I'd answer: "I'm trying" :)

The further I've investigated is that if I disable a very large portion of the code, then the problem goes away, but that's not a solution.

I want to learn about techniques or tools to debug a design time error like this.


P.D. And yes, I've already tried by running Delphi as admin, it does not make a difference.
0
 
LVL 32

Accepted Solution

by:
ewangoya earned 300 total points
ID: 34939955
You can try using EurekaLog, Its supposed to be able to catch design time errors but I've never used it in that manner.

If you can post the source of the offending component, we can try and do a code check.
0
 
LVL 1

Author Closing Comment

by:fischermx
ID: 35073357
Thank you!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now