STINNER Victor added the comment: - HINSTANCE hKernel32 = GetModuleHandleW(L"kernel32.dll"); + HINSTANCE hKernel32 = GetModuleHandle(TEXT("KERNEL32"));
I prefer to be explicit and force the usage of the wide character API, espacially in Python 3. ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10560> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com