Click here to Skip to main content
13,625,272 members

Windows API

 
QuestionEquivalent of Office Automation Services with Exchange 365 Pin
jsc4225-Jul-16 4:49
professionaljsc4225-Jul-16 4:49 
AnswerRe: Equivalent of Office Automation Services with Exchange 365 Pin
Richard Deeming25-Jul-16 5:48
mvpRichard Deeming25-Jul-16 5:48 
GeneralRe: Equivalent of Office Automation Services with Exchange 365 Pin
jsc4225-Jul-16 22:20
professionaljsc4225-Jul-16 22:20 
QuestionWhat is the difference between wcf web api,wpf web api and asp.net web api ? Pin
varun parmar1-Jun-16 23:01
membervarun parmar1-Jun-16 23:01 
AnswerRe: What is the difference between wcf web api,wpf web api and asp.net web api ? Pin
Richard MacCutchan1-Jun-16 23:53
protectorRichard MacCutchan1-Jun-16 23:53 
AnswerRe: What is the difference between wcf web api,wpf web api and asp.net web api ? Pin
Gerry Schmitz2-Jun-16 5:38
memberGerry Schmitz2-Jun-16 5:38 
AnswerRe: What is the difference between wcf web api,wpf web api and asp.net web api ? Pin
Leng Vang2-Feb-17 6:46
memberLeng Vang2-Feb-17 6:46 
QuestionEvtChar and overlapped Readfile(serialport.... Pin
stefan dimitrov21-May-16 8:30
memberstefan dimitrov21-May-16 8:30 
Hello,
I'm trying to use serial port in asynchronous mode,using overlapped structures and event handlers.
Function
ReadFile(porthandle,buffer, BytesToReceive....)
signals waiting thread ,when received bytes counts to "BytesToReceive. Ok. But i dont know how many bytes will come. One solution is to set BytesToReceive=1. Its not elegant. Other way is to use timeouts. Then ReadFile signals to waiting thread.
Other -3th- way is to use EvtChar, in my case i know every received packet ends with known character.
I settled event structures and received notification on EV_RXLAG . But how to handle properly?
When this event happens, there are ,let say 10 received bytes, but ReadFile is called with BytesToreceive=100.
I didnt find explanation how to cancel ReadFile and get these 10 bytes.
Any help is welcome!
AnswerRe: EvtChar and overlapped Readfile(serialport.... Pin
Richard MacCutchan21-May-16 20:42
protectorRichard MacCutchan21-May-16 20:42 
GeneralRe: EvtChar and overlapped Readfile(serialport.... Pin
stefan dimitrov22-May-16 8:41
memberstefan dimitrov22-May-16 8:41 
GeneralRe: EvtChar and overlapped Readfile(serialport.... Pin
Richard MacCutchan22-May-16 20:46
protectorRichard MacCutchan22-May-16 20:46 
QuestionDesktop Shortcuts position at First Logon Pin
Member 1253099218-May-16 2:29
memberMember 1253099218-May-16 2:29 
AnswerRe: Desktop Shortcuts position at First Logon Pin
Peter_in_278018-May-16 12:40
memberPeter_in_278018-May-16 12:40 
QuestionWindows Desktop Align Icons To Grid Pin
Jim Thomson17-Mar-16 13:38
memberJim Thomson17-Mar-16 13:38 
SuggestionRe: Windows Desktop Align Icons To Grid Pin
Staffan Bruun2-May-16 21:32
professionalStaffan Bruun2-May-16 21:32 
GeneralRe: Windows Desktop Align Icons To Grid Pin
Jim Thomson3-May-16 1:34
memberJim Thomson3-May-16 1:34 
Questiona small problem with function Pin
VISWESWARAN199815-Mar-16 6:53
professionalVISWESWARAN199815-Mar-16 6:53 
AnswerRe: a small problem with function Pin
Richard Andrew x6415-Mar-16 9:17
professionalRichard Andrew x6415-Mar-16 9:17 
GeneralRe: a small problem with function Pin
VISWESWARAN199816-Mar-16 7:06
professionalVISWESWARAN199816-Mar-16 7:06 
GeneralRe: a small problem with function Pin
Jochen Arndt16-Mar-16 7:20
mentorJochen Arndt16-Mar-16 7:20 
PraiseRe: a small problem with function Pin
VISWESWARAN199816-Mar-16 9:10
professionalVISWESWARAN199816-Mar-16 9:10 
AnswerRe: a small problem with function Pin
Graham Breach15-Mar-16 23:54
memberGraham Breach15-Mar-16 23:54 
PraiseRe: a small problem with function Pin
VISWESWARAN199816-Mar-16 9:10
professionalVISWESWARAN199816-Mar-16 9:10 
QuestionMicrosoft COM Pin
Stefan Bogdan11-Nov-15 22:35
memberStefan Bogdan11-Nov-15 22:35 
AnswerRe: Microsoft COM Pin
Richard Andrew x6412-Nov-15 3:12
professionalRichard Andrew x6412-Nov-15 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.180712.1 | Last Updated 10 Feb 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid