Re: Fail to load debug version of a DLL

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Jul 16, 9:59 pm, "Sheng Jiang[MVP]"
<sheng_ji...@xxxxxxxxxxxxxxxxxxx> wrote:
The debug version is likely depend on some debug version of vc runtime dlls
that does not exist in your setup package

--
Sheng Jiang
Microsoft MVP in VC++"Martin" <marti...@xxxxxxx> wrote in message

news:1184583090.448743.119240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi.

I want to get some log messages from a DLL, so after the installation
of the product I replace the release version of that DLL with its
debug version. It's used during Widows authentication and first time
it must be loaded by 'winlogon.exe'. After restarting machine an error
occures presumably at the step of Windows authentication, stating,
that the abovementioned DLL failed to load. I've checked the 2
versions of it (debug and release) with DependencyWalker, they both
are dependent on the the same modules... So, the question is somewhat
abstract: what are the main reasons for a DLL to fail to load?

Thanks in advance,
Martin

Yes, right. It was my fault, I have installed the product with debug
DLL on a virtual machine, which hadn't debug versions of MSVCRT.DLL
and MSVCP60.DLL :). Thank you.

Martin

.



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... Would it be possible for you to drop a debug services.exe and debug nk.exe ... > I ran dumpbin/exports on the finger dll and saw the required function ... >> theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • Re: technical/OS problem (windows xp?)
    ... Build a debug version of the ISAPI DLL. ... Create a virtual root with execute permissions in the IIS Management ... Add your ISAPI extension or filter DLL to the list. ...
    (alt.marketing.online.ebay)
  • Pthread debug DLL uses non-debug VC runtime; include its manifest to resolve this
    ... where I could not start up a debug version of a console app. ... the pthreads DLL, from other comments in the thread. ... Dependency Walker revealed that the Pthreads debug ... It turns out that you need not only the .dll files, but the .manifest files as well. ...
    (microsoft.public.vsnet.debugging)
  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)