Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: [quote=DotNetUser;165555]I added stdafx.h/.cpp and now it's working. But, how do you detect that no arguments were passed in? I want to set a default value when arguments are not provided.[/quote] [CODE] if(CommandLineToArgvW(GetCommandLineW(), &argc)) printf("commandline: %s %d\n", GetCommandLine(), argc); //CommandLineToArgvW - get# argc else return 0; [/CODE] |
The End.