Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: String Conversion Error Pin
Nemanja Trifunovic12-Feb-08 10:14
Nemanja Trifunovic12-Feb-08 10:14 
GeneralRe: String Conversion Error Pin
CPallini12-Feb-08 10:50
mveCPallini12-Feb-08 10:50 
GeneralRe: String Conversion Error Pin
Mark Salsbery12-Feb-08 12:44
Mark Salsbery12-Feb-08 12:44 
GeneralRe: String Conversion Error Pin
cagespear12-Feb-08 16:51
cagespear12-Feb-08 16:51 
GeneralRe: String Conversion Error Pin
Hamid_RT12-Feb-08 18:54
Hamid_RT12-Feb-08 18:54 
GeneralCHtmlView navigate2 and post method Pin
Kuki Pei12-Feb-08 5:00
Kuki Pei12-Feb-08 5:00 
GeneralRe: CHtmlView navigate2 and post method Pin
Rajkumar R12-Feb-08 5:16
Rajkumar R12-Feb-08 5:16 
GeneralRe: CHtmlView navigate2 and post method Pin
Kuki Pei12-Feb-08 5:21
Kuki Pei12-Feb-08 5:21 
GeneralRe: CHtmlView navigate2 and post method Pin
Rajkumar R12-Feb-08 5:51
Rajkumar R12-Feb-08 5:51 
GeneralMFC exe not working in non VC++ system Pin
Anu_Bala12-Feb-08 4:32
Anu_Bala12-Feb-08 4:32 
GeneralRe: MFC exe not working in non VC++ system Pin
Iain Clarke, Warrior Programmer12-Feb-08 4:51
Iain Clarke, Warrior Programmer12-Feb-08 4:51 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:53
Cedric Moonen12-Feb-08 4:53 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:54
Cedric Moonen12-Feb-08 4:54 
GeneralRe: MFC exe not working in non VC++ system Pin
Anu_Bala12-Feb-08 4:57
Anu_Bala12-Feb-08 4:57 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 5:03
Cedric Moonen12-Feb-08 5:03 
GeneralRe: MFC exe not working in non VC++ system Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:03
Iain Clarke, Warrior Programmer12-Feb-08 5:03 
GeneralRe: MFC exe not working in non VC++ system Pin
toxcct12-Feb-08 4:55
toxcct12-Feb-08 4:55 
GeneralRe: MFC exe not working in non VC++ system Pin
Cedric Moonen12-Feb-08 4:58
Cedric Moonen12-Feb-08 4:58 
GeneralRe: MFC exe not working in non VC++ system Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:01
Iain Clarke, Warrior Programmer12-Feb-08 5:01 
GeneralRe: MFC exe not working in non VC++ system Pin
Hamid_RT12-Feb-08 6:47
Hamid_RT12-Feb-08 6:47 
GeneralRe: MFC exe not working in non VC++ system Pin
David Crow12-Feb-08 7:48
David Crow12-Feb-08 7:48 
JokeRe: MFC exe not working in non VC++ system Pin
Rajesh R Subramanian12-Feb-08 8:54
professionalRajesh R Subramanian12-Feb-08 8:54 
GeneralRe: MFC exe not working in non VC++ system Pin
Anu_Bala12-Feb-08 17:29
Anu_Bala12-Feb-08 17:29 
Hi,

To solve my problem...Finally I installed VC in the system.Now the assertion error is not coming..its working.
But comunication is not working in COM port.

I create Dialog instance like this..

pDlg = new CMSCOMMDlg();
pDlg->Create(IDD_MSCOMM, this);
pDlg->OpenPort();


void CMSCOMMDlg::OpenPort()
{

m_Comm.SetCommPort (1); // Com port 1
m_Comm.SetSettings ("9600,e,8,1");
m_Comm.SetInputMode (1); // Binary mode
m_Comm.SetPortOpen (TRUE); // Open it
}

And i use this coding to glow LED in External keyboard conneced in serial port.

void CMSCOMMDlg::OnButton1()
{
// TODO: Add your control notification handler code here
//OpenPort();
CByteArray btArray;
btArray.Add (0xC5); // Byte 1
btArray.Add (0x0C); // Byte 2

COleVariant var(btArray);
m_Comm.SetOutput(var); // Send the data.
}
But the signal is not reached to keyboard.
I dnt know why this problem? still im searching for my problem.


But this EXE is running perfectly in my system(development system).

Anu

JokeRe: MFC exe not working in non VC++ system Pin
Rajesh R Subramanian12-Feb-08 19:50
professionalRajesh R Subramanian12-Feb-08 19:50 
GeneralDrop List in a Combo Box Pin
Davros12-Feb-08 4:30
Davros12-Feb-08 4:30 

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.