Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Ayesha Farheen

@Ayesha Farheen
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • XPCOM component registration
    A Ayesha Farheen

    Hi, How to register XPCOM component using XPInstall? Thank you.

    Ayesha

    COM tutorial question

  • Data not received properly using COM Port [modified]
    A Ayesha Farheen

    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

    C / C++ / MFC com

  • Data not received properly using COM Port [modified]
    A Ayesha Farheen

    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

    C / C++ / MFC com

  • Data not received properly using COM Port [modified]
    A Ayesha Farheen

    At both sending and receiving ends , its returning 1 (TRUE). Ayesha

    C / C++ / MFC com

  • Data not received properly using COM Port [modified]
    A Ayesha Farheen

    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<

    C / C++ / MFC com

  • Not able to set stopbits using SetCommState()
    A Ayesha Farheen

    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

    C / C++ / MFC com question

  • Call a function after showing the dialog.
    A Ayesha Farheen

    Thank you Anil and thank you every one. Ayesha

    C / C++ / MFC question

  • Call a function after showing the dialog.
    A Ayesha Farheen

    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

    C / C++ / MFC question

  • Convert Host name to IP address
    A Ayesha Farheen

    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

    C / C++ / MFC c++ sysadmin tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups