Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Windows Mobile
您正在 Windows Mobile 设备上运行 UltraLite 引擎,客户端返回了 -764 错误。
-764 错误表示无法找到引擎,所以不能启动。
请考虑以下的操作:
请考虑将引擎重新部署到推荐的部署位置,\Windows 目录。UltraLite 会在此位置自动查找引擎文件。
如果将引擎安装到其它任何位置,请确保连接代码使用了 START 连接参数。
如果您已使用了 START 连接参数,并确保引擎的路径正确,请确保对路径名中的特殊字符使用了正确的转义序列。
例如,您可能需要更改此代码:
ULConnection conn = new ULConnection(@"dbf=\Program Files\HelloEngine\HelloEngine.udb; START=\Windows\uleng12.exe")
为类似的代码:
ULConnection conn = new ULConnection(@"dbf=\\\"Program Files \"\\HelloEngine\\HelloEngine.udb; START=\\Windows\\uleng12.exe");