Re: FreeLibrary REPOST
From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 08/09/04
- Next message: CBFalconer: "Re: command line tool to convert VC project files to Makefile"
- Previous message: John Smith: "Re: VC++.NET 2003 should not issue C4090 ompiler warning in the following case"
- In reply to: danny: "FreeLibrary REPOST"
- Next in thread: danny: "Re: FreeLibrary REPOST"
- Reply: danny: "Re: FreeLibrary REPOST"
- Messages sorted by: [ date ] [ thread ]
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?
>
>
>
- Next message: CBFalconer: "Re: command line tool to convert VC project files to Makefile"
- Previous message: John Smith: "Re: VC++.NET 2003 should not issue C4090 ompiler warning in the following case"
- In reply to: danny: "FreeLibrary REPOST"
- Next in thread: danny: "Re: FreeLibrary REPOST"
- Reply: danny: "Re: FreeLibrary REPOST"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|