标签: 64位

指定 PtrSafe 以在导入 Windows API 时同时使用 32 位和 64 位 Excel

了解 Windows API PtrSafe 声明。使用Excel VBA编码时,您可以查看导入和使用Windows API时偶尔遇到的PtrSafe相关错误的原因和解决方法。 1. Windows API PtrSafe 错误的示例代码 这是导入和声明 Windows API Sleep, OutputDebugString 的代码。 (参考:...

在 64 位操作系统中创建 32 位提供程序连接字符串

介绍如何在 64 位操作系统上创建 32 位提供程序连接字符串。 Previous Post VBA Coding Pattern: Importing DB Query Results to Excel_ConnectionString Creation Method 1. 我在使用UDL文件的内容中提到了“How to display 32bit Provider in 64bit OS”。如果在 64 位操作系统上使用 UDL 文件创建连接字符串,则基本上只能使用已安装的 64 位 Provider 创建它。本文中的 Windows 10...

zh_CN简体中文