简体   繁体   English

C# Cursor 控制 64 位 Windows 7?

[英]C# Cursor control on 64-bit Windows 7?

I'm looking for a C# class to control mouse movements on a 64 bit Windows machine.我正在寻找一个 C# class 来控制 64 位 Windows 机器上的鼠标移动。 Does anyone have a link to one?有没有人有一个链接?

Here's one exactly like I need but it only works for x86: http://thecodeisart.blogspot.com/2008/11/mouse-control.html这是我需要的一个,但它只适用于 x86: http://thecodeisart.blogspot.com/2008/11/mouse-control.ZFC35FDC70D5FC69D239883A82EZC7

If you set the build type on your project explicitly to x86 you should be good to go.如果您将项目的构建类型明确设置为 x86,那么您应该对 go 很好。

在此处输入图像描述

If it's currently 'Any CPU' that will freak-out poorly written interop.如果它当前是“任何 CPU”,那会吓坏编写不佳的互操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM