Mac使用windows app远程连接局域网内采用微软账户的windows电脑,无法登陆。
Mac使用windows app远程连接局域网内采用微软账户的windows电脑,无法登陆,但是使用另一台windows电脑就可以远程进去。
Windows 开发 | Windows API - Win32
active状态的订单在Microsoft Partner Center不进行结算
目前我们发现微软验单不正常的问题,我们是Microsoft Store应用开发者,我方根据文档中的接口状态字段的active状态判断玩家是否支付成功,并决定是否给玩家发货,但是目前发现有大量active状态的订单在微软后台并未被认为是支付成功订单并进行结算,希望确认我们验证订单支付成功的方式是否正确,如当前方式正确则希望了解为何active状态的订单在微软后台并不进行结算。 参考文档地址…
Windows 开发 | Windows API - Win32
关于 vc 对 c++ 版本的约束
vs 默认对c++版本的约束不明确,现在很多c++库对c++版本的使用非常不注意,导致的很多c++库可移植性非常差!尤其是使用vs的程序员。
Windows 开发 | Windows API - Win32
如何使用direct2d显示edit中的文字?
我想用c++写一个UI,我搜索到了这个资料:uri(xyxieyue.com/articles/how-to-create-beautiful-ui-using-cplusplus.html) 我已经实现了这个文章中说的direct2d的作图的方式 但是EDIT还是之前的那种,我创建了一个EDIT,然后运行,输入内容,文字并不是很清楚。 现在想问如何使用direct2d来显示EDIT中的文字?
Windows 开发 | Windows API - Win32
Windows 11不支持任务栏进度条吗?(Is Windows 11 not support taskbarlist progress?)
当前系统: 版本 Windows 11 家庭中文版 版本号 24H2 安装日期 2025/2/24 操作系统版本 26100.4061 体验 Windows 功能体验包…
Windows 开发 | Windows API - Win32
Mac For Word调用selection.load(‘font’)直接抛GeneralException
Mac for Word Version 16.98 (25060824) 执行到selection.load(‘font’)直接抛GeneralException,但在Windows环境下能正常执行
Windows 开发 | Windows API - Win32
How to avoid
I need to launch another application in current process which already called SetDllDirectory.As described here child process will inherit the directory used by the calling of SetDllDirectory in parent process. My question is how avoid this? It seems…
Windows 开发 | Windows API - Win32
Am I unable to obtain raw MJPEG data from the Media Foundation mfcaptureengine?
I have a UVC device that outputs in YUV and MJPEG formats. I am trying to capture data in both formats,I can successfully obtain YUV data, but I fail to capture MJPEG data. The StartPreview call asynchronously returns an error: No suitable transform was…
Windows 开发 | Windows API - Win32


如何获取某些应用中的插入点坐标
win32有一个API:getGUIThreadInfo,可以获取插入点的边框信息:rcCaret。 https://learn.microsoft.com/zh-cn/windows/win32/api/winuser/nf-winuser-getguithreadinfo 但是我发现,当我在word中输入后,以及使用方向键移动插入点,getGUIThreadInfo并不能及时(约1秒)的获取到正确的信息。 还有其它方法可以获取应用中插入点的位置信息吗? 期待您的帮助解答
Windows 开发 | Windows API - Win32
求助,有无接口可以获取、设置当前的输入法状态?
我有个项目,当前涉及到关于输入法的几项问题: 问题1:我想要获取当前是否是处于一种输入状态,有无方法可以获取当前获焦应用的输入状态? 例:我如果在浏览一张图片,这时候是处于非输入的状态,我按下键盘中的字母按键是无反应的。而当我聚焦在文本编辑框,例如浏览器网址栏等则是输入状态,按下键盘中的字母按键,会输入字母,或者拉起中文输入法。 问题2:我在使用“中文(简体,中国)”这个输入法,可以通过shift键切换中/英模式,有无API可以通过代码切换中/英模式? 问题3:我在使用“中文(简体,中国)”这个输入法,可…
Windows 开发 | Windows API - Win32

Securing Cryptographic Key Storage on Windows Against Malware
I'm developing a Windows application with end-to-end encryption and need guidance on securing the Master Key stored on user machines. A compromised Master Key could have severe consequences if exploited by malicious programs. Here are my specific…
Windows 开发 | Windows API - Win32


VS2022 C++ GetLastError()的编译问题
一段祖传代码要移植到VS2022,结果编译出现error,请大神帮忙看一下 代码如下: #ifdef errno #undef errno #endif #define errno GetLastError() 这段代码本身是没有问题的,即将errno强行指向GetLastError()。 但是编译时出现下面的异常: error: error: E0461-非常量引用的初始值必须为左值 C2440 无法从“DWORD”转换为“int…
Windows 开发 | Windows API - Win32
Windows 商业版 | 面向 IT 专业人士的 Windows 客户端 | 用户体验 | 其他
开发人员技术 | C++
开发人员技术 | Visual Studio | 其他
Why SetWindowCompositionAttribute makes text also transparent
When I called SetWindowCompositionAttribute to make the main window blurred, text of controls on it also became transparent and thus hard to read. I want to keep the text pure black without transparency while the main window is blurred and…
Windows 开发 | Windows API - Win32
开发人员技术 | C++
Uploading data to D3D12 PBO from WSL 2 get very slow performance.
Here is the translation of your text into English: I uploaded data to a DirectX PBO in WSL 2, and the code is shown below. The performance is very slow; uploading 512 * 512 * 274 * 2 = 143,654,912 bytes took 470 milliseconds. I recorded a kernel trace…
Windows 开发 | Windows API - Win32
Windows 商业版 | 面向 IT 专业人士的 Windows 客户端 | 用户体验 | 其他

是否有开放第三方开发者应用的 层级设置接口
实现第三方应用的窗口可以和鼠标同级或位于鼠标下一级,即第三方应用的某个特定窗口可以显示在 按下鼠标右键 或者 按下Windows键后 的弹窗之上(我们为辅具开发的需求,即通过眼控实现鼠标操作,但是目前第三方应用的弹窗会被鼠标右键弹窗或Windows的系统弹窗遮挡,导致无法看到我方应用的弹窗,即使通过WPF的TopMost,窗口仍然会被上述的两个弹窗遮挡 调用Win32的SetWindowPos也仍然不行)是否有解决方案?谢谢
Windows 开发 | Windows API - Win32

如何使用自己指定的时间写法
在设置日期和时间时,输入MMM会显示由 LOCALE_SABBREVMONTHNAME* 值指定的缩写月份。如何不改变设置的区域格式的同时,使用指定的区域格式?
Windows 开发 | Windows API - Win32

使用GDI+绘制,打印时透明图片出现bug,图片没有透明效果,背后的内容不见了
使用GDI+绘制透明的,细小的虚线,然后绘制透明图片,当两者相交的时候,打印为XPS,效果不对。 上面为在窗口绘制的正确的效果,下面为打印为xps时有问题的效果: 关键代码如下: /* 尝试了几个改动,任意一个改动,都可以使得问题不重现: 1. 把画笔大小改大 2. 把画笔颜色的透明度去掉 3. 错开矩形和图片,不要交叉 */ void Draw(HDC hdc) { Graphics graphics(hdc); // Draw a semi-transparent red dashed…
Windows 开发 | Windows API - Win32

How to enable the accent border instead of the title bar when enabling mica effect?
I have enabled the "Display accent color on the title bar and window borders" option in Windows settings. I applied the Mica effect to my Python program using the Win32API. The window display effect, the window Style viewed with Spy++, and the…
Windows 开发 | Windows API - Win32
Windows 商业版 | 面向 IT 专业人士的 Windows 客户端 | 用户体验 | 其他

IAlertDataCollector::get_AlertThresholds返回的SAFEARRAY的元素是什么数据类型?
我希望获取性能日志和警报中,警报数据收集器的警报阈值。我找到了IAlertDataCollector::get_AlertThresholds这个API,但是文档只说它返回一个SAFEARRAY,是要监视的性能计数器和阈值的列表,没有说明数组元素具体是什么类型,SAFEARRAY本身似乎也不包含元素类型信息。“要监视的性能计数器和阈值的列表”看起来就不像是一个简单的数值类型能描述的东西,应该是个复杂类型。但是具体是什么类型,我完全找不到?
Windows 开发 | Windows API - Win32
IAlertDataCollector::get_AlertThresholds返回的SAFEARRAY的元素是什么数据类型?
我希望获取性能日志和警报中,警报数据收集器的警报阈值,找到了IAlertDataCollector::get_AlertThresholds这个API,但是文档之说它返回一个SAFEARRAY,是”要监视的性能计数器和阈值的列表“,这看着就不像是个简单的数值类型,肯定是个复杂类型。但是,我没有找到文档中有任何描述它具体是什么元素类型。SAFEARRAY本身似乎也不包含复杂的元素类型信息。这导致我完全无法解析这个返回的SAFEARRAY。——这个问题重复了,因为之前的提问提交时返回给我的是404页面,导致我…