当前位置:网站首页>C WindowFromPoint is invalid in 64 bit programs
C WindowFromPoint is invalid in 64 bit programs
2022-06-21 22:34:00 【zLulus】
WindowFromPoint() Two parameters are not required , It only needs one ,POINT The structure of the type .
stay 32 Parameters can be passed in different ways in bit programs , stay 64 Not in bit mode , So the following expression is invalid .
[DllImport("user32.dll")]
public static extern IntPtr WindowFromPoint(int xPoint, int yPoint);
The correct way to write it is as follows :
Point=System.Drawing.Point
[DllImport("user32.dll")]
public static extern IntPtr WindowFromPoint(System.Drawing.Point point);
Reference material
WindowFromPoint doesn’t work correctly on 64bit .NET Framework
WindowFromPoint function (winuser.h)
Create pageWindowFromPoint (user32)
边栏推荐
猜你喜欢

Sampler collection
![[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor](/img/74/a645742a8e135b32154859be956760.png)
[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor

Leetcode question brushing: SF Technology Smart logistics Campus Technology Challenge

左手代码,右手开源,开源路上的一份子

UWP 阴影效果

【深入理解TcaplusDB技术】如何实现Tmonitor单机安装

celery+rabbit分布式任务处理

Contact five heart matchmaker to take off the order
![[in depth understanding of tcapulusdb technology] tcapulusdb construction data](/img/64/4d7ec393d8469cdadc89078a8cf4b1.png)
[in depth understanding of tcapulusdb technology] tcapulusdb construction data

FPGA之道——FPGA开发流程之项目方案与FPGA设计方案
随机推荐
An Chaoyun was selected as one of the "top ten cloud computing solution providers" in the Asia Pacific region by cioreview in 2022
promise错误捕获处理——Promisifying技术
小程序与工业互联网能够相辅相成的原因
[in depth understanding of tcapulusdb technology] how to realize single machine installation of tmonitor
KVM虚拟机救援模式修改root密码 —— 筑梦之路
利用for循环,分别计算1-100中奇数的和、偶数的和【方法二】
Verilog参数例化时自动计算位宽的函数
cpu指令重排导致错误的一个例子
Anaconda add channels
Use the for loop to calculate the odd and even sums in 1-100 [method 2]
[in depth understanding of tcapulusdb technology] tcapulusdb construction data
KVM虚拟机在线扩展磁盘 —— 筑梦之路
利用do while循环,分别计算1-100中奇数的和、偶数的和【方法一】
tkinter中text文本与scroll滚动条关联
【深入理解TcaplusDB技术】TcaplusDB导入数据
关于lg(n!)的渐进紧确界
Bitmap使用注意事项
class path resource [classpath*:mapper/*.xml] cannot be opened because it does not exist
企业微信内置应用h5开发记录-1
[deeply understand tcapulusdb technology] table management of document acceptance