Click here to Skip to main content
15,885,537 members

Comments by EricckWu (Top 3 by date)

EricckWu 7-Nov-14 9:57am View    
Dear Jochen,
So the command line arguments are stored as wide chars no matter I claimed "char* argv[]" or "_TCHAR* argv[]" in the argument of _tmain?
However, I think you are right, the rule of thumb is "never change any parameter types defined in MSDN"
Thanks so much!

Best Regards,
EricckWu 6-Nov-14 22:10pm View    
Dear Aescleal,
Thanks for your help and it works! It is really a beautiful code.
EricckWu 6-Nov-14 21:26pm View    
Dear Jochen,
Thanks for your help & it worked! However, I still have one question about the char* & _tchar*
My code is "int _tmain(_In_ int argc, _In_reads_(argc) char* argv[])". Even I claimed argv[] as "char*", it will still be converted to "_tchar*" because of "_tmain" function. Is that correct?