A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-August/037559.html below:

[Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000

[Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000Neil Hodgson nhodgson at bigpond.net.au
Sun Aug 10 09:38:57 EDT 2003
Tim Peters:

> behavior between 98SE and XP in VC6.  Typical Windows docs:
>
>     The reason that main and WinMain cannot return Unicode strings is
>     that argc, argv, and lpCmdLine use the LPSTR data type for
>     parameters, not the LPSTR data type. The GetCommandLine function
>     can be used to access Unicode strings, because it uses the LPSTR
>     data type.
>
> I suppose some of that might be correct <wink>.

   Well, if you'd just upgrade to VS .NET 2003, a mere 8 hour upgrade
process over VS .NET 2002 for me:

>    The reason that main and WinMain cannot return Unicode strings is
>    that argc, argv, and lpCmdLine use the LPSTR data type for
>    parameters, not the LPTSTR data type. The GetCommandLine function
>    can be used to access Unicode strings, because it uses the LPTSTR
>    data type.

   Two extra easily-overlooked characters and it makes some more sense.
Although it still contains errors, it at least touches the point it is
trying to make.

   Neil



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4