Hi, How to register XPCOM component using XPInstall? Thank you.
Ayesha
Hi, How to register XPCOM component using XPInstall? Thank you.
Ayesha
Yes , that is dataToSend its not parameterNCheckSumData. But thats just a char buffer name. I want to know why data is not being received properly. Thanku You. Ayesha
Before sending the data or receiving it , Iam flushing the buffer using following method. int nReturnValue = PurgeComm(handlePort_,PURGE_TXCLEAR | PURGE_RXCLEAR); And the return value is non-zero, i.e flushing succeded. I checked both, with and without PurgeComm(). But still its not working.i.e Output is same for both. And the length received is coming as 0. I didnt understand one thing, Iam sending the data only ones, but why its receiving it those many times and why data is not coming? Thank You. Ayesha -- modified at 2:54 Tuesday 11th July, 2006
At both sending and receiving ends , its returning 1 (TRUE). Ayesha
Hi, Iam sending data to ComPort and using RS-232 cable Iam trying to receive the data at the other end. I set the properties also(BaudRate,Stop Bits,Parity etc..)both at sender and receiver. Sending End: char dataToSend[100]; dataToSend = "asdfsdf ...."; result = WriteFile(handlePort,dataToSend,99,&length,NULL); Receiving End: char dataReceived[100]; result = ReadFile(handlePort,dataReceived,99,&length,NULL); cout << "Data Received = " << dataReceived<
Hi, Iam writing a ComPort related program. Iam setting the state of the com port using SetCommState(). Iam considering stop bits also. When I use 1 or 2 stop bits , SetCommState is working fine. But when I use 1.5 (ONE5STOPBITS), SetCommState() is not working, i.e its returning 0. Why is it not working?What changes should I make? Thank you. Ayesha
Thank you Anil and thank you every one. Ayesha
I want a function to be called after dialog box has been shown. I can't write it in OnInitDialog(). From where should I call that funtion? Is there any CDialog method which is called immediately after showing the dialog . Ayesha
In a network , if I give a system name , how to get the IP address of that system. Is there any MFC class to find that? Ayesha