Keyboard hook fires multiple times in MS Word
<p>This is in reference to a question asked in <a href="https://stackoverflow.com/questions/32770647/detecting-text-changes-in-word-2016-from-vsto-add-in/33897595#33897595">Detecting text changes in Word 2016 from VSTO add-in</a></p>

<p>While the answer provided by Dirk Vollmar works, I noticed that hitting one key triggers KeyboardHookCallBack 10-12 times and I am not able to capture accurately the sequence the keys are being hit in. </p>

<p>Pardon me if my question is stupid but is there a way to make sure that the KeyboardHookCallBack is triggered only once for each key? I have been trying this for some time now without any luck.</p>

<p>I'd appreciate any help on this matter.</p>