From: <th...@us...> - 2017-08-04 12:41:41
|
Revision: 772 http://sourceforge.net/p/py2exe/svn/772 Author: theller Date: 2017-08-04 12:41:39 +0000 (Fri, 04 Aug 2017) Log Message: ----------- Use the ANSI version functions; now the source can be compiled even when UNICODE is defined. Modified Paths: -------------- trunk/py2exe/source/actctx.c Modified: trunk/py2exe/source/actctx.c =================================================================== --- trunk/py2exe/source/actctx.c 2017-08-04 12:29:28 UTC (rev 771) +++ trunk/py2exe/source/actctx.c 2017-08-04 12:41:39 UTC (rev 772) @@ -26,7 +26,7 @@ ULONG_PTR ret = 0; if (PyWin_DLLhActivationContext && pfnActivateActCtx) if (!(*pfnActivateActCtx)(PyWin_DLLhActivationContext, &ret)) { - OutputDebugString("py2exe failed to activate the activation context before loading a DLL\n"); + OutputDebugStringA("py2exe failed to activate the activation context before loading a DLL\n"); ret = 0; // no promise the failing function didn't change it! } return ret; @@ -36,5 +36,5 @@ { if (cookie && pfnDeactivateActCtx) if (!(*pfnDeactivateActCtx)(0, cookie)) - OutputDebugString("py2exe failed to de-activate the activation context\n"); + OutputDebugStringA("py2exe failed to de-activate the activation context\n"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |