[Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000
Neil Hodgson
nhodgson at bigpond.net.au
Sun Aug 10 09:38:57 EDT 2003
More information about the Python-Dev mailing list
Sun Aug 10 09:38:57 EDT 2003
- Previous message: [Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000
- Next message: [Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000
- Next message: [Python-Dev] Re: FWD: Re: Problem w/ IDLE on Win2000
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list