简体   繁体   English

在MAC上运行Windows APP

[英]Running a windows APP on MAC

I just done a presentation to a client of mine of a commercial windows application I just made available. 我刚刚向我的客户做了一个我刚刚提供的商业Windows应用程序的演示文稿。 The problem is that this client just has Mac machines. 问题是这个客户端只有Mac机器。 I don't know the Mac OS version. 我不知道Mac OS版本。

So how can run this APP on Mac? 那么怎么能在Mac上运行这个APP?

This APP is created in Delphi 2007 Win32. 此APP是在Delphi 2007 Win32中创建的。

What solutions do I have available? 我有哪些解决方案?

Run it using a Wine/VirtualBox/VmWare/Bootcamp/Parallels? 使用Wine / VirtualBox / VmWare / Bootcamp / Parallels运行它? Delphi 2007 isn't directly portable to Mac Delphi 2007不能直接移植到Mac

For commercial quality deployments, I would only look at VMWare fusion. 对于商业质量部署,我只关注VMWare融合。 Your clients can run Windows on their macs, inside a VM, and run your App inside that VM. 您的客户可以在其Mac上,在VM内运行Windows,并在该VM内运行您的应用程序。 Parallels is okay, but VMWare fusion is head and shoulders higher than everything else out there. Parallels没问题,但VMWare融合比其他任何东西都高。 I currently use VMWare fusion heavily, with delphi apps I wrote myself, and it works great for me. 我目前使用VMWare融合,使用我自己写的delphi应用程序,它对我很有用。

WINE is cool, but I wouldn't support it commercially, as a single-person shop, or small shop, the technical depth of the problems involved in fixing glitches caused by a WINE-and-your-vertical-market application don't make business sense. WINE很酷,但我不支持商业,作为一个单人商店或小商店,技术深度的问题涉及修复由葡萄酒和你的垂直市场应用程序引起的故障不有商业意义。 If your time is worth money, just go with a full windows VM solution, and forget about WINE. 如果你的时间值钱,只需使用完整的Windows VM解决方案,忘记WINE。

You should also be aware that a cross platform Delphi that targets Mac OS X is also in the works. 您还应该意识到,面向Mac OS X的跨平台Delphi也在开发中。

PS As the other answers above state, your clients would have to pay for a VMWare Fusion license per machine, plus a copy of Windows, per machine. PS正如上面的其他答案所述,您的客户必须为每台机器支付VMWare Fusion许可证,并为每台机器支付一份Windows副本。

PPS It has been pointed out to me that draconian new rules apply to the use of Windows 7, on virtual machines. PPS有人向我指出, 严格的 新规则适用于在虚拟机上使用Windows 7。

PPPS I have just learned directly from a Microsoft person familiar with the licensing, that a Full Packaged Product (FPP) Windows 7 license can be used on one machine, or one VM instance, such as VMWare Fusion on your Mac, and that this is fully legal, and that Microsoft has no problems with this. PPPS我刚刚从熟悉许可的微软人员那里了解到,可以在一台计算机上使用完整打包产品(FPP)Windows 7许可证,或者在Mac上使用一个VM实例,例如VMWare Fusion,这是完全合法,并且微软对此没有任何问题。

Windows 7 Licensing in Virtual Environments 虚拟环境中的Windows 7许可

From the MS site Licensing for Virtual Environments see the link (.DOCX) licensing windows7 with VM technologies 从MS站点虚拟环境 许可中,可以使用VM技术查看链接(.DOCX) 许可Windows7

You should look into CrossOver from CodeWeavers: http://www.codeweavers.com/products/crossover/ 您应该从CodeWeavers查看CrossOver: http//www.codeweavers.com/products/crossover/

This is basically a commercial version of Wine with many advanced features beyond the free Wine as well as excellent support from CodeWeavers. 这基本上是Wine的商业版本,除了免费的Wine之外还有许多高级功能以及CodeWeavers的出色支持。

The also offer valuable services to help if there are problems with running your application as is under Crossover: http://www.codeweavers.com/services/engagements/ 如果在Crossover下运行您的应用程序时出现问题,它还提供有价值的服务: http//www.codeweavers.com/services/engagements/

The disadvantage of any VM based solution is obviously that your customer would have to buy windows licenses and licenses for the VM solution for all their machines and then basically end up having to maintain 2 OSs on each machine, MacOSX and the Windows installation in the VM. 任何基于VM的解决方案的缺点显然是您的客户必须为其所有计算机购买VM解决方案的Windows许可证和许可证,然后基本上最终必须在每台计算机上维护2个操作系统,MacOSX和VM中的Windows安装。

Take a look at Lazarus | 看看Lazarus | Lazarus for Delphi Users . Lazarus for Delphi用户 It supports the creation of self-standing graphical and console applications and runs on Linux, FreeBSD, MacOSX and Windows. 它支持创建独立的图形和控制台应用程序,并在Linux,FreeBSD,MacOSX和Windows上运行。

There is a new product that allows you to compile VCL applications for Mac http://www.crossvcl.com . 有一个新产品允许您为Mac http://www.crossvcl.com编译VCL应用程序。 The problem is that third party component support is limited. 问题是第三方组件支持是有限的。

Windows 7 is the most current and I believe the most convenient version of MS Windows. Windows 7是最新的,我相信最方便的MS Windows版本。 If you intend to use any of the virtualization software like VirtualBox, Wine, Parallels, VMWare, to run a Windows application in a Mac/OS/X (the host machine), bear in mind that you will still need the Windows 7 CD/license (or XP CD) to install/mount Windows as a virtual machine (the guest machine). 如果您打算使用任何虚拟化软件(如VirtualBox,Wine,Parallels,VMWare)在Mac / OS / X(主机)中运行Windows应用程序,请记住您仍需要Windows 7 CD /许可证(或XP CD)将Windows安装/装载为虚拟机(来宾计算机)。

I have installed VirtualBox (free) on my MacBook and then I installed Windows XP on it and Windows runs nice and easy; 我在我的MacBook上安装了VirtualBox(免费),然后在其上安装了Windows XP,Windows运行起来非常简单; for home use I think this is fantastic but wouldn't be so sure for commercial use. 对于家庭使用我认为这很棒,但不太适合商业用途。 For commercial use I would go with either Parallels or VMWare because of the support that you can get, but only you know about your requirements. 对于商业用途,我会使用Parallels或VMWare,因为您可以获得支持,但只有您了解您的要求。

The price for a license of these VMs may very well beat the price of a Windows computer but, remember that a new Windows computer may be the most straight forward alternative for you and your client. 这些VM的许可证价格可能远远超过Windows计算机的价格,但请记住,新的Windows计算机可能是您和您的客户最直接的选择。

Hope this helps answer your concerns. 希望这有助于解答您的疑虑。 Good luck! 祝好运!

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM