KpyM Telnet/SSH Server - Forum
Question about source code
Henk Tiggelaar Question about source code
 
In the source file KDaemon.hxx at line 287 it says:

s << "shlex.exe \"session.exe.lnk\" "

Why not call session.exe directly?


Kroum Grigorov
 
Starting console program through windows shortcut(hense session.exe.lnk file) is the only way, that I'd found to have any control over the console font.

You can read more on this [url=l0c41://www.kpym.com/blog/2005/11/console-howto-change-console-font.html]here[/url]

And the shlex.exe program is just a wrapper around ShellExecuteEx to workaround this [url=l0c41://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257018&wa=wsignin1.0]handle leak[/url].

Kroum


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group