简体   繁体   English

如何在带有winebottler的MacOSX上运行需要sql server本机客户端的win32本机应用程序?

[英]How to run a win32 native application that requires sql server native client on MacOSX with winebottler?

I am experimenting with WineBottler and I would like to try to run my win32 native application written in Delphi on OSX. 我正在试验WineBottler ,我想尝试在OSX上运行用Delphi编写的win32本机应用程序。

The application runs, but I stop at login screen since I cannot connect to SQL Server. 该应用程序正在运行,但是由于无法连接到SQL Server,因此我在登录屏幕上停止了。

Does anyonw know how to install and configure SQL Server native client on OSX so that it is usable with WineBottler? 是否有任何人知道如何在OSX上安装和配置SQL Server本机客户端,以便它可以与WineBottler一起使用?

Note: I put "wine" as tag since "winebottler" is not available. 注意:由于“ winebottler”不可用,因此我将“ wine”作为标签。

You would have a lot less trouble if you put in some middleware like kbmMW, Remote Objects, or DataSnap. 如果您放入诸如kbmMW,Remote Objects或DataSnap之类的中间件,则麻烦会少很多。 All of them can use plain TCP/IP (via http or like higher level protocol), and don't require client side libs. 它们都可以使用普通的TCP / IP(通过http或类似的更高级别的协议),并且不需要客户端库。 You will need an extra server, but it is easy to create one that just forwards your SQL and data between clients and SQL server. 您将需要一台额外的服务器,但是创建一个仅在客户端和SQL Server之间转发SQL和数据的服务器很容易。 Note that SQL server licensing remains. 请注意,仍保留SQL Server授权。

On the other hand, you can try to install SQL Server native client, some older version of it - eg. 另一方面,您可以尝试安装SQL Server本机客户端,它的某些旧版本-例如。 for SQL Server 2005, in that "bottle" with your application. 对于SQL Server 2005,在应用程序的那个“瓶子”中。 Yet, I'm not sure if that is legal thing to do. 但是,我不确定这是否合法。 I think that MS prohibits native client installation on OS other than Windows. 我认为MS禁止在Windows以外的操作系统上安装本机客户端。

There is FreeTDS native client that works with MSSQL from unices, but it is not ported to be usable from Delphi (like dbx driver). 有FreeTDS本机客户端可以通过unices与MSSQL一起使用,但是不能移植为可从Delphi使用(例如dbx驱动程序)。

I have a Delphi application that uses MDAC 2.8 for ADO connection to the Jet provider. 我有一个Delphi应用程序,它使用MDAC 2.8将ADO连接到Jet提供程序。 I use Winetricks to install MDAC 2.8, and it works great. 我使用Winetricks来安装MDAC 2.8,并且效果很好。 If you can't get SQL Server Native Client to install, perhaps your application can use the OLEDB SQL Server provider by tweaking your connection strings. 如果您无法安装SQL Server Native Client,则您的应用程序可以通过调整连接字符串来使用OLEDB SQL Server提供程序。 Are you using any features that are only in SQL Server Native Client? 您是否正在使用仅在SQL Server Native Client中使用的任何功能?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当从本机win32应用程序调用C#COM程序集时,如何调试它? - How can I debug a C# COM assembly when it's being called from a native win32 application? 如何在特定的本地时间运行Delphi Win32应用程序? - How can I run a Delphi Win32 application with a specific local time? Delphi Win32应用程序可与Oracle一起使用 - Delphi win32 application to work with Oracle Delphi Win32应用程序中的社交网络 - Social networks in an Delphi win32 application SOAP不一致? Delphi 2010(Win32)服务器和.NET客户端交换'out-parameter'和'result' - SOAP inconsistency? Delphi 2010 (Win32) Server and .NET Client swapping 'out-parameter' and 'result' 哪个是最快的win32或SQL查询? - which is fastest win32 or SQL query? 在Delphi Win32 Client中使用WCF服务(basicHttpBinding)时出现问题 - Problem in consuming WCF service (basicHttpBinding) in Delphi Win32 Client 如何用Delphi Win32编写SOAP 1.2客户端的最佳方法 - How is the best way to write a SOAP 1.2 Client with Delphi Win32 如何远程调试使用运行时包构建的Win32 VCL应用程序 - How to remote debug a Win32 VCL application built with runtime package 将delphi win32应用程序转换为库并冻结FreeLibrary - Conversion of a delphi win32 application to a library and FreeLibrary freeze
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM