Alex Ionescu wrote:
Shouldn't kernel not use unicode_strings + rtl, and just stay within the domain of normal string functions and kernel32 stuff?
Also, shouldn't the DllDirectory be in the registry, and not some local var that gets erased every time you reboot?
I believe Thomas' implementation is correct based on MSDN documentation.