2011/8/26 Mike Gilbert <floppymas...@gmail.com>: > On Fri, Aug 26, 2011 at 5:24 PM, Nils Andresen <n...@nils-andresen.de> wrote: >> 2011/8/26 Mike Gilbert <floppymas...@gmail.com>: >>> Why not just use argv[0]? >> I was under the impression that in c (as in c#) you don't get the >> clients name in the args. > In C, argv[0] normally contains the name of the program being run, as > the user gave it on the command line.
Yesterday I was so sure (even before writing the mail) that this wouldn't work that I didn't even try. Today (as I am not a naturally trusting person) I wrote a test for that - and I stand corrected. Thanks. ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Freerdp-devel mailing list Freerdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel