MS Word VBA x32 ->x64 转换,替代 SetParent?
我有一个旧的 Word 文档,其中包含 x32 内置的 VBA,我需要更新它才能在 x64 中工作。我一直在寻找损坏的 x32 声明并替换它们,但我很难找到以下内容的替代品。
Private Declare Function SetParent Lib "user32.dll" _
(ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
I have an old Word document with VBA built in x32 and I need to updated it to work in x64. I've been going through finding the broken x32 declarations and replacing them, but I've having trouble finding a replacement for the following.
Private Declare Function SetParent Lib "user32.dll" _
(ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ron de Bruin:Excel 自动化是转换 API 调用时的救星。
Ron de Bruin: Excel Automation is a lifesaver when it comes to converting API calls.