Posts by Steffen Wiefelspuetz

    Hello,


    we had several problems switching from PicoCOM2 to PicoCOM4 and so our PicoCOM2´s are empty but the software for PicoCOM4 ist not ready.
    Have anybody 50-100 PicoCOM2 64MB Version in stock and doesn´t need anymore.
    Please write me an private Message or answer to this Post.


    Thank You
    Steffen Wiefelspütz

    Thanks for the fast Answer.
    But it isn´t work.
    I have the EvtChar set to 'q' and the folloing Code for recive the Serial Port

    Code
    1. a=SetCommMask(_handle,EV_RXFLAG);
    2. a=WaitCommEvent(_handle,&r,NULL);
    3. cout<<"Test: "<< r <<"/"<<a<<endl;
    4. if(r==EV_RXFLAG)
    5. {
    6. ReadFile(_handle,q,JUNK,&r,NULL);
    7. cout<<"EV_RXFLAG:"<<bRead<<endl;
    8. }
    9. SetCommMask(_handle,EV_RXFLAG);


    the code based on your example.
    _handle is an correcr Handle of the com1 port
    The code stops here "WaitCommEvent(_handle,&r,NULL);" and I send all Characters of my Keyboard over the Com1 Port but nothing happens.


    Thanks for help
    Steffen