Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

MouseKeyHook crashes C#

$
0
0

Hi

I'm trying to use the MouseKeyHook class in my program but after a while running it crashes and I get various of error names for the MouseKeyHook .dll crashing.

This is the line that crashes:

Application.Run(new TheContext());

Any ideas what could cause the crash? (I tried both x86 & x64 builds but both crash)

I'm using Visual studio community 2017

thanks!

(Sorry if this is in wrong forum, please move)



Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>