Hi,
Nice code, but
MSDN says you shouldn't use DONT_RESOLVE_DLL_REFERENCES because it's deprecated.
Instead you should use LOAD_LIBRARY_AS_DATAFILE or LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE.
Michael
"Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."