Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNotify Events When Event log is Full Pin
Raghu.Amil27-Jul-09 5:59
Raghu.Amil27-Jul-09 5:59 
AnswerRe: Notify Events When Event log is Full Pin
David Crow27-Jul-09 6:04
David Crow27-Jul-09 6:04 
QuestionDistribute application across network Pin
vikrant kpr27-Jul-09 5:10
vikrant kpr27-Jul-09 5:10 
QuestionBit of an odd one, vssver2, time_t and DWORD Pin
J4amieC27-Jul-09 4:43
J4amieC27-Jul-09 4:43 
AnswerRe: Bit of an odd one, vssver2, time_t and DWORD Pin
Rajesh R Subramanian27-Jul-09 7:11
professionalRajesh R Subramanian27-Jul-09 7:11 
GeneralRe: Bit of an odd one, vssver2, time_t and DWORD Pin
J4amieC27-Jul-09 23:02
J4amieC27-Jul-09 23:02 
GeneralRe: Bit of an odd one, vssver2, time_t and DWORD Pin
Rajesh R Subramanian28-Jul-09 5:36
professionalRajesh R Subramanian28-Jul-09 5:36 
QuestionHow to disable the Comport Error dialog? Pin
THAQCD27-Jul-09 4:05
THAQCD27-Jul-09 4:05 
I use the follwing codes to Open & Detect the Serial port, but even I can detect the port not avalbale & show the message ... the "Comport error" dialog keepping shown before execute my error message

DCB comPort; 

hPort = CreateFile  (COM,                          // Pointer to the name of the port
		    GENERIC_READ | GENERIC_WRITE   // Access (read-write) mode
	            0,				   // Share mode
		    NULL,			   // Pointer to the security attribute
		    OPEN_EXISTING,		   // How to open the serial port
		    0,				   // Port attributes
		    NULL);			   // Handle to port with attribute to copy

// Initialize the DCBlength member. 
comPort.DCBlength = sizeof (DCB); 


// Get the default port setting information.
if(!GetCommState (hPort, &comPort))
{
    CloseHandle(hPort);

    CString str;

    str.Format("Can not connect to Serial %s, please verify & SUBMIT over!", COM);
    AfxMessageBox (str);
}

Is there any code to disable the Comport error dialog?

Thanks to any help
QuestionSpecifying outgoing UDP port? Pin
Souldrift27-Jul-09 3:54
Souldrift27-Jul-09 3:54 
AnswerRe: Specifying outgoing UDP port? Pin
Rathore Amit27-Jul-09 4:42
Rathore Amit27-Jul-09 4:42 
QuestionHow to delete a directory Pin
V K 227-Jul-09 2:54
V K 227-Jul-09 2:54 
AnswerRe: How to delete a directory Pin
Rajesh R Subramanian27-Jul-09 3:04
professionalRajesh R Subramanian27-Jul-09 3:04 
GeneralRe: How to delete a directory Pin
V K 227-Jul-09 3:12
V K 227-Jul-09 3:12 
GeneralRe: How to delete a directory Pin
Rajesh R Subramanian27-Jul-09 3:15
professionalRajesh R Subramanian27-Jul-09 3:15 
QuestionItem width of HeaderCtrl.. Pin
kumar sanghvi27-Jul-09 1:42
kumar sanghvi27-Jul-09 1:42 
AnswerRe: Item width of HeaderCtrl.. Pin
«_Superman_»27-Jul-09 2:03
professional«_Superman_»27-Jul-09 2:03 
AnswerRe: Item width of HeaderCtrl.. Pin
Iain Clarke, Warrior Programmer27-Jul-09 3:42
Iain Clarke, Warrior Programmer27-Jul-09 3:42 
Question[Message Deleted] Pin
sarita_21627-Jul-09 1:16
sarita_21627-Jul-09 1:16 
QuestionRe: serial communication in dilog based application in vc++ Pin
Chandrasekharan P27-Jul-09 1:24
Chandrasekharan P27-Jul-09 1:24 
AnswerRe: serial communication in dilog based application in vc++ Pin
sarita_21627-Jul-09 1:31
sarita_21627-Jul-09 1:31 
GeneralRe: serial communication in dilog based application in vc++ Pin
King Julien27-Jul-09 3:39
King Julien27-Jul-09 3:39 
GeneralRe: serial communication in dilog based application in vc++ Pin
sarita_21627-Jul-09 18:36
sarita_21627-Jul-09 18:36 
AnswerRe: serial communication in dilog based application in vc++ Pin
Iain Clarke, Warrior Programmer27-Jul-09 1:31
Iain Clarke, Warrior Programmer27-Jul-09 1:31 
Questionhelp on using VC++ libraries Pin
hareshel27-Jul-09 1:03
hareshel27-Jul-09 1:03 
AnswerRe: help on using VC++ libraries Pin
Adam Roderick J27-Jul-09 1:46
Adam Roderick J27-Jul-09 1:46 

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.