Re: check if a API exists in dll.
From: Ndi (Ndi_at_Ndi_dot_ro)
Date: 11/11/03
- Next message: Ndi: "Re: Re: check if a API exists in dll."
- Previous message: george graf: "communicate with command line programs"
- In reply to: Bojidar Markov: "Re: check if a API exists in dll."
- Next in thread: Jeremy Collins: "Re: check if a API exists in dll."
- Reply: Jeremy Collins: "Re: check if a API exists in dll."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 Nov 2003 06:29:21 +0200
> Be careful with those exits, you dont unload the DLL ;)
I thought about the first one, if handle is zero there is no DLL, thus
there is no need to free the library. I couldn't even if I wanted to, hDll
is zero.
I didn't think about the second one though :)
Insert a FreeLibrary just before the second Exit, properly idented, please
...
Heh. Oh well, it works if you test less then a million APIs ... No, I'm
not feeling OK, why do you ask? :)
-- Andrei "Ndi" Dobrin Brainbench MVP www.Brainbench.com
- Next message: Ndi: "Re: Re: check if a API exists in dll."
- Previous message: george graf: "communicate with command line programs"
- In reply to: Bojidar Markov: "Re: check if a API exists in dll."
- Next in thread: Jeremy Collins: "Re: check if a API exists in dll."
- Reply: Jeremy Collins: "Re: check if a API exists in dll."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|