[TSF-IME] Access violation when using / Heap Corruption ITfUIElementSink
Hi,
Im currently working with the Text Service Framework.
And if I use advise sink on an ITfUIElement, i'll get an exception (see picture) after using my simple test application and spamming some keys and spaces in chinese.
If i dont advise sink ITfUIElement and use the OS Candidate window everything works fine^^ even deleting all my code in
HRESULT CandidateList::BeginUIElement(DWORD dwUIElementId, BOOL* pbShow)
HRESULT CandidateList::UpdateUIElement(DWORD dwUIElementId)
HRESULT CandidateList::EndUIElement(DWORD dwUIElementId)
the behaviour does not change.
I remember using the same project on a different pc and it works without any crash.
Im using Microsoft Windows [Version 10.0.18363.1082] and Visual Studio 2017
Windows SDK 10.0.14393.0
Platform Toolset VS 2017 v141
Any Ideas ?
EDIT:
Here u can download my project to test it urself
https://drive.google.com/file/d/1hAZZhtP5kHOT28jEVoRGVbqO1EJgp-mz/view?usp=sharing