Re: FreeLibrary REPOST

From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 08/09/04


Date: Sun, 8 Aug 2004 18:04:36 -0700

You won't be able to unload your library, if it allows itself to be loaded
in all processes. In your DLLMAIN ATTACH_PROCESS, check if it's the process
of interest, and if not, return FALSE.

"danny" <NOJUNK@EMAILPLEASE.COM> wrote in message
news:1092005128.522993@nntp.acecape.com...
> sorry for the repost, but this problem i smaking me reboot my computer
> usually with less than 7 DEBUG sessions...since i cannot properly FREE the
> library...
>
> in summary it goes like this...i have a system wide HOOK in a dll....at
the
> end of the program i UNHOOK, then call freethelibrary....debugging it all
> the way through, i see that i SUCCESSUFLLY unhook...FREELIBRARY fails, and
> het last error gives me
>
> 1114 A dynamic link library (DLL) initialization routine failed.
> ERROR_DLL_INIT_FAILED
>
> at best what i found was knowledge base article Article ID: Q131224, and
> have tried it's suggestions, but to no avail....
>
> like i said, usually after 5 debug sessions, where i have to quit my app
to
> recompile, i have to reboot as it cannot recompile the DLL since it is
STILL
> in use.....
>
> anyone every come acrsoss this and fix it?
>
>
>



Relevant Pages

  • FreeLibrary REPOST
    ... like i said, usually after 5 debug sessions, where i have to quit my app to ... recompile, i have to reboot as it cannot recompile the DLL since it is STILL ...
    (microsoft.public.vc.language)
  • Re: via vt8233a spu problems, 5.1r (bug?)
    ... Download the 5.2-BETA mini ISO image, install 5.2-BETA, then install ... CVSUP your sources to -CURRENT, recompile your kernel, and reboot. ...
    (freebsd-current)
  • Re: [RFC][PATCH] O(1) Entitlement Based Scheduler
    ... >>to require a reboot to change any of that. ... > various benchmarks to determine what are the best settings for various ... But there is no reason one has to recompile ... various parameters, runs workloads, sets other parameters, runs ...
    (Linux-Kernel)
  • Re: ntdll.dll persistent errors
    ... I suggest looking at the following Knowledge Base Article for more ... PSS ID Number: Q314474 ... > reboot with a STOP: error pointig to the ntdll.dll file. ... > rollback once, so I ...
    (microsoft.public.windowsxp.security_admin)
  • Re: VMware server cannot run on FC6
    ... On reboot, the previously compiled module "just worked" without a ... recompile, now it had an i686 arch kernel to get into. ...
    (Fedora)