|
hi
can u help me by telling how you develop communication between two systems through port
thanks
|
|
|
|
|
Mr.p_
first you go through your systems hyperterminal and see the port configarations and know about them
|
|
|
|
|
trn f cmd eko md n th mdm
Er,
Turn off the Command Echo mode on the modem.
A modem will either echo back the command you send it (E1) or not (E0).
Type in "ATE0" It will echo back.
Type in another AT command. It should not echo.
Read the modem commands in the manual if this is not clear.
It is probably working correctly.
Gary
|
|
|
|
|
Hey everyone,
I've got a C++ console application and it goes into a loop while that never ends except when the user presses the ESC key! Right now my loop is coded like this:
while (!kbhit())
{ code }
I have to change the kbhit bit to make it so it only ends the loop when I press the ESC key!
Thanks for your help in advance, I appreciate it!
Michael
|
|
|
|
|
while( 1 )
{
if( kbhit())
{
if( getch() == 27 ) break;
}
cout << "Hello ";
}
- NS -
|
|
|
|
|
it is mush simple if it is like that.
while ( (ch = getch())!= 27 )
{
/// loop statements
}
Thank You.
hiren thakkar
|
|
|
|
|
It is wrong...
The loop will be blocked, because getch will wait for key hit. The loop will be executed in each key strokes...
- NS -
|
|
|
|
|
yes , Your are right. Sorry i was missed interpreted that. Then your code is absolutely right
|
|
|
|
|
Hello everyone,
I have a question about MDI application. As mentioned in the previous question i have this activeX control in the CFormview and i have declared an ActiveX control variable which controls the activex. Whenever i select the File->new option from the menu a new window is created with the activex which is extactly what i require.
Now what i have to do is there is a list control. Whenever i select any item from the list control a new window should open as in File->new action. Then i should be able to control the properties of activex in that window. How should i do that. I dont have any idea about MDI applications and documents. A sample code will really be appreciated.
Regards
Chaitannya.
|
|
|
|
|
Take a look to the answers I gave some time ago. In this link you will find an index of my other answers.
Thema: One document - More than one View
I will write an article explaining all step by step.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
|
|
Hello everyone,
I have an MFC application with CFormview class. there is an Activex embedded on the form view. I have also declared a variable for the activeX through which i control all the functionalities of the activeX. Now there is another window with a customised list control. So what i am aiming for is, whenever i enter some value in the listcontrol that value should be wrapped in an object and passed to this activeX control. How do i access the pointer of the activex control from the CList class. I have tried declaring a pointer of the object in the view class and then passing that value to the Clist class but that is not working. Can anyone provide any alternative solution?
|
|
|
|
|
i think u should declare a varaible and
modify the Serialize fun and in listctl command use
CEditStringDlg myDialog;
myDialog.listcontrolvar= declared variable;
if(myDialog.DoModal() == IDOK &&
myDialog.listcontrolvar!= declared variable)
{
declared variable= myDialog.listcontrolvar;
UpdateAllViews(NULL);
SetModifiedFlag();
}
|
|
|
|
|
p_ wrote: modify the Serialize fun and in listctl command use
modify the Serialize fun and in listctl command use
Well sorry i am a newbie... can you explain this...?
|
|
|
|
|
Can anyone tell me about the inner mechanism of Region.IsVisible(Point pt) function? ie i want to know ins and out of the function.
|
|
|
|
|
This is for WFC and Java, isn't it?
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
|
Hi
I have around 6 yrs experience in C++ & Win32. ( Zero knowledge in .NET till now )
I am looking for some Microsoft Certifications in .NET.
Which kind of certification suit for me and which all papers should i opt for.
Please help me
Thanks
Anil
|
|
|
|
|
anilFirst wrote: I am looking for some Microsoft Certifications in .NET.
With no experience, why would you bother? The whole purpose of a certification is to show that you know about, and have used, the technology.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi
I have a problem (sorry por my english)
I need to make a Debug in C++ or ansi C
Details: i have a project to get the "Character Name" from a game, so, i'm just need to apply a Debug Code.
A friend give me that ASM Code (and works)
005F60D0 > \8D41 1C LEA EAX,DWORD PTR DS:[ECX+1C]<br />
005F60D3 . 85C0 TEST EAX,EAX<br />
005F60D5 . 74 06 JE SHORT Engine.005F60DD<br />
005F60D7 . 66:8338 00 CMP WORD PTR DS:[EAX],0<br />
005F60DB . 75 02 JNZ SHORT Engine.005F60DF
i need to get the EAX value into a char value (from C)
so:
- how i can make a C code to get into the subprocess (a dll) and get the EAX value ???
google didn't give me a result
PD: This is my first code debug
|
|
|
|
|
use __asm to add assembly code in the C function.
there, I think, you can type a line like:
<br />
UINT MyVar;<br />
__asm{<br />
...<br />
move EAX MyVar;<br />
....<br />
}
(not sure on the sintax...take a look on web)
Russell
|
|
|
|
|
I am trying to rotate a CEdit control so that it's vertical on the dialog and the text is read from top to bottom. Is there an easy way to do this?
Thanks.
|
|
|
|
|
I don't know of any built-in support for this.
Rich edit controls have a vertical style for Asian languages.
You'll probably have to roll your own
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I have a many child dialog at are created within the parent.
dlg = new childDlg;
dlg->Create(childDlg::IDD, this);
Works great.. but something it dependant on SP2. Without it, the window will not show up. People who use my program use it for Audio/Midi processing and don't like SP2 installed on their Digital Audio Workstation. So I would like to fix this so the applications does not require SP2.
Any Ideas?
VC2005
MFC
DirectX 8.0 SDK
|
|
|
|