 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Padu Guest
|
Posted: Fri Jan 06, 2006 6:55 am Post subject: Delphi 6 and the infamous NTDLL debug breakpoint |
|
|
Hi,
I've been searching the borland newsgroups for a solution to my problem, but
what I found didn't help it.
The problem is the well known debug breakpoint left by MS in the NTDLL file,
it only happens while running the app through delphi ide. I'm using Delphi 6
(Built 6.163) on Win XP professional v.2002 with SP2. I had this problem
under other circunstances, but usually it was just a matter of pressing F9
and go on. Now it happens several times in the same line of code.
What I'm trying to do is to enumerate all the sound codecs installed on the
system. For that I'm using a VCL package (MMTools) which I do have the
source code and I'm able to pinpoint the exact line of code where the
problem is happening:
Result :=
acmFormatTagEnum(0, @aftd,
acmFormatEnumTagCallback,
Longint(Self), 0) = 0; //this is inside the VCL component I'm using
Where acmFormatTagEnum is the external procedure "acmFormatTagEnumA" inside
"MSACM32.DLL". acmFormatEnumTagCallback as you may guess is a callback proc
where I assembly a list of all codecs. My guess is that delphi is stopping
on a NTDLL debug breakpoint for every codec in my system, I'm not sure.
I did install the "W2k debug breakpoint fixup" bpl (for Delphi 6) from
Dennis Passmore available on code central but that didn't help. I had also
tried before the D5 version, where I even tried including the breakpoint
address ($7C901231) in the w2kxxxxx.ini (don't remember the name of the ini
now).
Is there any other thing available for a workaround? Or maybe I'm doing
something wrong?
Cheers
Padu |
|
| Back to top |
|
 |
Riki Wiki Google Guest
|
Posted: Tue Jan 17, 2006 4:25 am Post subject: Re: Delphi 6 and the infamous NTDLL debug breakpoint |
|
|
| Quote: | Is there any other thing available for a workaround? Or maybe I'm doing
something wrong?
|
Hoi Padu
You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question, and BTW this
newsgroup do not officially exist, use group b.p.d.ide.general.
Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|