<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western">On 18.3.2013 11:35, JonY wrote:
<br>
<blockquote type="cite" style="color: #000000;">Before anyone does
anything, see __wgetmainargs
<br>
<a class="moz-txt-link-rfc2396E"
href="http://msdn.microsoft.com/en-us/library/ff770599.aspx"><http://msdn.microsoft.com/en-us/library/ff770599.aspx></a>.
<br>
<br>
It can expand wildcards. Since it already provides
argc/argv/env, it is
<br>
more a less a drop-in replacement for the main() arguments.
<br>
</blockquote>
<br>
MSVC also comes with <a class="moz-txt-link-freetext"
href="http://msdn.microsoft.com/en-us/library/8bch7bkk%28v=vs.80%29.aspx">http://msdn.microsoft.com/en-us/library/8bch7bkk%28v=vs.80%29.aspx</a>.
To support unicode with these methods would require somewhat more
#ifdef code in main. We'd need to change project files to define
Unicode character set and turn main into _wmain and char *argv to
wchar_t *argv. Also these are MSVC's internal features, if I'm not
mistaken. Other compilers on Windows would then require different
solutions.
<br>
<br>
</div>
</body>
</html>