Original Post
Here''s my problem:
When I call GetCommandLine(), sometimes (depending on how the program was executed), it returns the command line with the executable name included (ex: myprog.exe -arg1 -arg2), and sometimes without (ex: -arg1 -arg2).
Is there any way to get exclusively the command line arguments, without the executable name in front? (checking the first argument against a constant wouldn''t work if the user were to rename the file).