Entwickler-Ecke

Windows API - CBT_HOOK und MS Excel


mderinger@netcom.de - Di 12.02.08 19:26
Titel: CBT_HOOK und MS Excel
Hat jemand Erfahrung mit dem Einsatz von CBT_Hooks.

Ich nutze eine ganze Reihe von Systemweiten CBT_Hooks (in DLLs).
Das funktioniert auch alles soweit.

Aber:
Sobald in MS Excel einige Zellen Formatiere und dann das Kontextmenü "Zellen formatieren" aufrufe stürzt Excel ohne weitere Meldung ab!?!
Und das bei jedem CBT_Hook, auch wen die Hook-Funktion überhaupt nichts tut als CallNectHook(...)

Sobald ich die CBT_Hooks deaktivere funktioniert Excel.