[FFmpeg-devel] Win UTF8 patch vs WinCE (Was Re: [PATCH] Check for the isatty function)

Martin Storsjö martin
Fri Jul 24 16:30:36 CEST 2009


On Fri, 24 Jul 2009, Martin Storsj? wrote:

> I tested this and found out that it's actually way more complicated than 
> than I thought. I'll try to list all the major issues I ran in to:
> 
> - CommandLineToArgvW doesn't exist on WinCE (neither on mingw32ce nor on 
>   MSVC). I tried to hack together a seemingly compatible replacement, but 
>   that's 90 lines extra cruft. (Attached for reference.) I also noticed 
>   that this function isn't available on win9x, FYI.

Found another issue related to this: On WinCE, the command line given by 
GetCommandLineW() doesn't contain the executable name, while it does on 
desktop windows. To work around this, one would have to do something 
similar to this patch, attached.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: commandline-ce.patch
Type: text/x-diff
Size: 1061 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090724/1d568866/attachment.patch>



More information about the ffmpeg-devel mailing list