Solved

Design time ntdll.dll error with Delphi components

Posted on 2011-02-19
5
1,172 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

744 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

14 Experts available now in Live!

Get 1:1 Help Now