Click here to Skip to main content
15,914,070 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting a WM_LBUTTONUP in a listview Pin
Tomasz Sowinski9-Jun-01 2:21
Tomasz Sowinski9-Jun-01 2:21 
GeneralCSplitterWnd without AppWizard Pin
Nathan Hoffman7-Jun-01 12:14
Nathan Hoffman7-Jun-01 12:14 
GeneralRe: CSplitterWnd without AppWizard Pin
Christian Graus7-Jun-01 12:51
protectorChristian Graus7-Jun-01 12:51 
GeneralRe: CSplitterWnd without AppWizard Pin
Vivek Rajan7-Jun-01 19:56
Vivek Rajan7-Jun-01 19:56 
GeneralRe: CSplitterWnd without AppWizard Pin
Nathan Hoffman8-Jun-01 16:09
Nathan Hoffman8-Jun-01 16:09 
QuestionWhat is wrong ??? (MSCOMM) Pin
Hadi Rezaee7-Jun-01 11:10
Hadi Rezaee7-Jun-01 11:10 
AnswerRe: What is wrong ??? (MSCOMM) Pin
Ghazi H. Wadi7-Jun-01 12:10
Ghazi H. Wadi7-Jun-01 12:10 
AnswerRe: What is wrong ??? (MSCOMM) Pin
D.D. de Kerf7-Jun-01 20:40
D.D. de Kerf7-Jun-01 20:40 
I'm using the following code which works (I've tested it until I dropped on the floor, so believe me):

m_pMSComm->SetRThreshold(1);
m_pMSComm->SetSThreshold(1);
m_pMSComm->SetInBufferCount(0);
m_pMSComm->SetOutBufferCount(0);
m_pMSComm->SetCommPort(m_iCommPort);

// Standard setings: 9600 baud, no parity, 8 data, and 1 stop bit. "9600,N,8,1"
m_pMSComm->SetSettings(m_sCommSettings);
// We want to read the buffer in it's whole
m_pMSComm->SetInputLen(0);
// Open the gates!
m_pMSComm->SetPortOpen(true);

// Call number 37 (for ISDN modems, use ATB20DT37)
CString sMessage = "ATDT37";
COleVariant vSend = sMessage;
m_pMSComm->SetOutput( vSend );


Hope this helps a little. Let me know where the problem lies.


Structured programming vs. chaotic mind boggling
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee8-Jun-01 0:06
Hadi Rezaee8-Jun-01 0:06 
GeneralRe: What is wrong ??? (MSCOMM) Pin
D.D. de Kerf8-Jun-01 0:14
D.D. de Kerf8-Jun-01 0:14 
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee8-Jun-01 3:31
Hadi Rezaee8-Jun-01 3:31 
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee8-Jun-01 8:06
Hadi Rezaee8-Jun-01 8:06 
GeneralRe: What is wrong ??? (MSCOMM) Pin
D.D. de Kerf10-Jun-01 20:48
D.D. de Kerf10-Jun-01 20:48 
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee10-Jun-01 21:18
Hadi Rezaee10-Jun-01 21:18 
GeneralRe: What is wrong ??? (MSCOMM) Pin
D.D. de Kerf10-Jun-01 21:30
D.D. de Kerf10-Jun-01 21:30 
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee10-Jun-01 21:40
Hadi Rezaee10-Jun-01 21:40 
GeneralRe: What is wrong ??? (MSCOMM) Pin
Hadi Rezaee16-Jun-01 10:23
Hadi Rezaee16-Jun-01 10:23 
GeneralATL Dialogs Pin
AndyC7-Jun-01 8:54
AndyC7-Jun-01 8:54 
GeneralCStatic bmp and Mouse click message Pin
BryanBHU7-Jun-01 7:56
BryanBHU7-Jun-01 7:56 
GeneralRe: CStatic bmp and Mouse click message Pin
Christian Graus7-Jun-01 12:53
protectorChristian Graus7-Jun-01 12:53 
GeneralRe: CStatic bmp and Mouse click message Pin
Michael Dunn7-Jun-01 19:27
sitebuilderMichael Dunn7-Jun-01 19:27 
GeneralAs for message destination Pin
BryanBHU8-Jun-01 5:53
BryanBHU8-Jun-01 5:53 
GeneralHelp! Database Question Pin
Ryan Baillargeon7-Jun-01 6:50
Ryan Baillargeon7-Jun-01 6:50 
GeneralRe: Access Database? Pin
Masaaki Onishi7-Jun-01 7:30
Masaaki Onishi7-Jun-01 7:30 
GeneralGraying out effect Pin
Chris Campbell7-Jun-01 6:13
Chris Campbell7-Jun-01 6:13 

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.