This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Carlo_Bramini, brian.curtin, ezio.melotti, loewis, rpetrov, vstinner
Date 2013-02-23.13:25:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361625958.96.0.656942756626.issue10560@psf.upfronthosting.co.za>
In-reply-to
Content
-    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.
History
Date User Action Args
2013-02-23 13:25:59vstinnersetrecipients: + vstinner, loewis, ezio.melotti, rpetrov, brian.curtin, Carlo_Bramini
2013-02-23 13:25:58vstinnersetmessageid: <1361625958.96.0.656942756626.issue10560@psf.upfronthosting.co.za>
2013-02-23 13:25:58vstinnerlinkissue10560 messages
2013-02-23 13:25:58vstinnercreate