Vincent Béron wrote:
Is it best to use MultiByteToWideChar() or RtlCreateUnicodeStringFromAsciiz()? I find that latter function much easier to use (no need to mess with string lengths, etc.).
Well for system DLLs this shouldn't be a problem. But for other DLLs this might create an undiserable dependency on ntdll.dll and this way cause additional problems for mixed builtin/native DLL setups.
Rolf Kalbermatter