|
From: Per W. <pw...@ia...> - 2004-08-18 16:25:42
|
Why do you assume that an old mail from 2002 should get more answers? If a
mail isn't answered within a couple of days it is forgotten!
KOWSTR CommandLine = L"A command line to process 1 2 3 4";
LPWSTR* Args;
int NumArgs;
Args = CommandLineToArgW(CommandLine,&NumArgs);
if (p) {
for (int i = 0; i < NumArgs; i++)
std::cout << Args[i];
}
There is nothing magic with the function. It just handles a wide-character
text line and split it into individual parameters identical to the input
to wmain of a unicode application.
/Per W
On Wed, 18 Aug 2004, Xavier wrote:
> Email Archive: dev-cpp-users (read-only)
>
> From: <abresan@gm...>
> how do I use the "CommandLineToArgvW()" Funktion
> 2002-04-20 13:41
>
>
>
>
> can anyone give an example
>
> thanks
>
> still no examples !!! ??? (since 2002)
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|