No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have developed a GUI where in I need to update some(4) parameters in a ListBox.I am usind the following code to do this. [code] CString tmp; tmp.Format("%4d %4d %4d",a,b,c); listBx.AddString(tmp); [/code] a,b and c are integers.listBx gets updated every 1 sec. But I am not getting the output in … | |
Re:
#include <iostream.h> #include <string> void main() { char name[10]; int num_name; int count; cout << "How many names do you want to enter?\n"; cout << "Answer: "; cin >> num_name; int j =1; cout << "\nEnter names\n"; for (count=1; count<=num_name; count++) { cout << j << "." <<" name: "; … | |
I have implemented ReadFile function for reading data through SerialPort.When the other end is responding correctely my program is working fine. Sometimes when I dont get data from the other end my program hangs.For this I have implemented timeouts for Readfile function. But It doesnt seem to be working. My … | |
Hi All, I have an application to open a serial port and write commands to it. I have used CreateFile function along with ReadFile and WriteFile. I need to use my serial connection from Network Connections and connect to a device.After connecting to the device I disconnect it. Now I … | |
I have developed a tabbed gui.I need to do some operations when the CLOSE button in the GUI is issued.I have removed OK and CANCEL buttons as I have no use with them. Can anyone please help me where can I include my code so that I can execute it … |