I am using windows 2000.
I want to write c++ program that use "NET" program with "SEND" command.
so far I success by using
system("NET SEND d213213 jashdjkhasjkd");
but I need to get the error, and I can not do it maybe It can be done by getting the data from cerr
if so I want to take it char, but I don't now elegant way to do this.
2) API of NET SEND will help
Thanks in advance