NTDLL problems

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hej

I'm developing a dll with visual studio 6.0 under win 2000, which uses the windows media platform, I had no problems at all with the this building and debuging dll until...
I installed a codec (sorry I really don't know which one), the codec wasn't useful so I uninstalled it. But since installing this codec this dll gives problems while debugging. When I call the "hRes = m_poWmCodecInfo3->GetCodecInfoCount(WMMEDIATYPE_Audio, &dwCodecCount);" I get the message user breakpoint called from code at ..... I get a message in my debug log: HEAP[testconsoledll.exe]: Invalid Address specified to RtlFreeHeap( 21f0000, 2a90000 ), and as expected I get an assembler code which stops at a line with "int 3" (so it's not very surprising that I get the message
I searched on the internet and found out that I'm not the only one getting this error, but normally it's just an error in code written by the user, this is not the case (I'm 99,9% sure) here, because I tried to debug some old versions (which worked) and they give the same error now.
I get the same error while using this (Debug-compiled) dll when I load it in a delphi program. I think that this codec install ruined something, but I can't figure out which file it ruined. The NTDLL.dll file hasn't been changed since installing the computer.

If anyone could help me solving this problem, all suggestions are welcome

Thank you in advance, Erwin
 
On average, to rule-put the root-cause of this problem,
you would need to run your application with full pageheap enabled.
Full PageHeap should be able to get you an access violation
or a VerifierStop message very near to the place where the problem happens.

To enable Full PageHeap for your application:
c:\debuggers>gflags /p /enable YourApp.exe /full

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


EDV said:
Hej,

I'm developing a dll with visual studio 6.0 under win 2000, which uses the
windows media platform, I had no problems at all with the this building and
debuging dll until....
I installed a codec (sorry I really don't know which one), the codec
wasn't useful so I uninstalled it. But since installing this codec this dll
gives problems while debugging. When I call the "hRes =
m_poWmCodecInfo3->GetCodecInfoCount(WMMEDIATYPE_Audio, &dwCodecCount);" I
get the message user breakpoint called from code at ..... I get a message in
my debug log: HEAP[testconsoledll.exe]: Invalid Address specified to
RtlFreeHeap( 21f0000, 2a90000 ), and as expected I get an assembler code
which stops at a line with "int 3" (so it's not very surprising that I get
the message)
I searched on the internet and found out that I'm not the only one getting
this error, but normally it's just an error in code written by the user,
this is not the case (I'm 99,9% sure) here, because I tried to debug some
old versions (which worked) and they give the same error now.
I get the same error while using this (Debug-compiled) dll when I load it
in a delphi program. I think that this codec install ruined something, but I
can't figure out which file it ruined. The NTDLL.dll file hasn't been
changed since installing the computer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top