If this is your first visit to our forums, welcome!
This blog teaches you how to write code to get a list of all the modules in use by the current process. This information is useful when you want to know if a certain module (DLL, OCX) has been loaded or not. It is a kind of debugging information. I would not advise you to add this in each and every program. To make a list of modules we need a couple of Windows API functions. First we need to get the ID of the current process (that it your executable). You can retrieve this by calling ...
Updated 15-Apr-2011 at 12:29 PM by Vincent Oorsprong (CloseHandle Function added)