The commandline that you posted shows no problem, it should work just fine.
Since you don't explicitely link to anything, I don't see how it could fail with this error. That is, except if your friend does not have
MSVCRT.DLL (that's the only dependency your program implicitely has), but that is kind of unbelieveable.
MSVCRT.DLL is a standard component used by almost every Windows program, so it seems very unlikely that it is not present on a computer. Nevertheless, try to copy that DLL to the other computer (or download it from dll-files.com).
If I remember correctly, it is perfectly legal to distribute this DLL in unmodified form with your programs, too (you may want to verify this before doing it).
If copying
MSVCRT.DLL does not help, there is one last thing you can do:
Go to
www.sysinternals.com and download FileMon. Start it before launching your program. You should see several dozen events in FileMon's output window. At some place, it will read "SOME_LIBRARY.DLL -- NOT FOUND". Then you will know what is missing.
Alternatively, you could use the dependency walker coming with Microsoft's developer tools, if you have these, but FileMon will do as well.