Click here to Skip to main content
15,898,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:05
Iain Clarke, Warrior Programmer12-Feb-08 5:05 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 5:15
Davros12-Feb-08 5:15 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 5:20
Davros12-Feb-08 5:20 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 5:56
Iain Clarke, Warrior Programmer12-Feb-08 5:56 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:00
Davros12-Feb-08 6:00 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:07
Davros12-Feb-08 6:07 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 6:18
Iain Clarke, Warrior Programmer12-Feb-08 6:18 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 6:31
Davros12-Feb-08 6:31 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 7:02
Davros12-Feb-08 7:02 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 7:47
Davros12-Feb-08 7:47 
GeneralRe: Drop List in a Combo Box Pin
Iain Clarke, Warrior Programmer12-Feb-08 9:03
Iain Clarke, Warrior Programmer12-Feb-08 9:03 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 9:13
Davros12-Feb-08 9:13 
GeneralRe: Drop List in a Combo Box Pin
Davros13-Feb-08 0:12
Davros13-Feb-08 0:12 
QuestionRe: Drop List in a Combo Box Pin
David Crow12-Feb-08 7:49
David Crow12-Feb-08 7:49 
GeneralRe: Drop List in a Combo Box Pin
Davros12-Feb-08 9:11
Davros12-Feb-08 9:11 

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.