Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRight Mouse Button Pin
18-Nov-00 4:18
suss18-Nov-00 4:18 
GeneralRe: Right Mouse Button Pin
Christian Graus19-Nov-00 12:37
protectorChristian Graus19-Nov-00 12:37 
GeneralExplanation for screen capture Pin
18-Nov-00 1:49
suss18-Nov-00 1:49 
Generaldeleting a pointer Pin
DanYELL17-Nov-00 14:32
DanYELL17-Nov-00 14:32 
GeneralRe: deleting a pointer Pin
Michael Dunn17-Nov-00 14:44
sitebuilderMichael Dunn17-Nov-00 14:44 
GeneralRe: deleting a pointer Pin
DanYELL17-Nov-00 15:21
DanYELL17-Nov-00 15:21 
GeneralRe: deleting a pointer Pin
Michael Dunn17-Nov-00 15:40
sitebuilderMichael Dunn17-Nov-00 15:40 
QuestionHOW TO GET NET SEND ERROR MESSAGE ?? Pin
17-Nov-00 11:59
suss17-Nov-00 11:59 
Hi,

Here is my code to launch programmatically some net send commands :

if( !CreateProcess( NULL,
"Net.exe send COMPUTER2 Good morning" , NULL, NULL, FALSE, 0, NULL, NULL,
&si, // Pointer to STARTUPINFO structure.
&pi )) // Pointer to PROCESS_INFORMATION structure.
{
// I display here CreateProcess error message with GetLastError()

}
else
// OK Message is sent


This code work very well, but i dont know how to get errors messages.
For example under MS DOS windows if write the following command :

C:\>net send COMPUTER2 "Good morning"

The following error appear :

"an error is appear when sending message to COMPUTER2"
see NET HELPMSG 2273 for more....

CAN ANYBODY HELP ME HOW CAN I GET THIS ERROR PROGRAMMATICALLY ??

Thanks in advance
GeneralBasics Pin
17-Nov-00 3:26
suss17-Nov-00 3:26 
GeneralRe: Basics Pin
17-Nov-00 8:48
suss17-Nov-00 8:48 
GeneralRe: Basics Pin
18-Nov-00 19:47
suss18-Nov-00 19:47 
GeneralRe: Basics Pin
18-Nov-00 19:47
suss18-Nov-00 19:47 
General:confused: How to copy a file in clipboard Pin
17-Nov-00 0:10
suss17-Nov-00 0:10 
QuestionHow to change window caption font Pin
Chris Vischer17-Nov-00 0:08
Chris Vischer17-Nov-00 0:08 
AnswerRe: How to change window caption font Pin
jerry0davis17-Nov-00 4:59
jerry0davis17-Nov-00 4:59 
AnswerRe: How to change window caption font Pin
17-Nov-00 8:50
suss17-Nov-00 8:50 
GeneralHide the scrollbars of a CTreeCtrl object Pin
Tran Hoang Chuong16-Nov-00 23:17
Tran Hoang Chuong16-Nov-00 23:17 
GeneralRe: Hide the scrollbars of a CTreeCtrl object Pin
SudhaShriram17-Nov-00 0:05
SudhaShriram17-Nov-00 0:05 
GeneralView with look like Outlook Today Page Pin
16-Nov-00 22:02
suss16-Nov-00 22:02 
GeneralRe: View with look like Outlook Today Page Pin
17-Nov-00 8:54
suss17-Nov-00 8:54 
GeneralExport registry settings Pin
15-Nov-00 21:17
suss15-Nov-00 21:17 
GeneralRe: Export registry settings Pin
20-Nov-00 4:24
suss20-Nov-00 4:24 
GeneralCreate Virtual Disk at RAM Pin
15-Nov-00 20:51
suss15-Nov-00 20:51 
QuestionProtection against disassemblers? Pin
15-Nov-00 13:13
suss15-Nov-00 13:13 
AnswerRe: Protection against disassemblers? Pin
Michael Dunn15-Nov-00 14:03
sitebuilderMichael Dunn15-Nov-00 14:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.