#include<windows.h>
#include<stdio.h>
#include<string.h>
int main(void)
{
HMODULE module_handle = 0;
while((module_handle = GetModuleHandle(TEXT("library.dll"))) == 0)
printf("The specified module could not be found.\n");
printf("Module handle = %x\n", module_handle);
return 0;
}