[英]Running application in XP Mode and Outlook
I have a legacy Windows XP application that I am trying to support. 我有一个尝试支持的旧版Windows XP应用程序。 I have been able to set it up to run as an XP-Mode application.
我已经能够将其设置为以XP模式应用程序运行。 The problem I have is that this application is able to create emails to send invoices to customers.
我的问题是此应用程序能够创建电子邮件以将发票发送给客户。 I have MS-Outlook 2007 installed on the virtual machine and the problem is that while the email is created, if Outlook is not running then the emails will sit in Outlooks Outbox until Outlook is running on the virtual machine.
我在虚拟机上安装了MS-Outlook 2007,问题是在创建电子邮件时,如果Outlook未运行,则电子邮件将位于Outlooks发件箱中,直到在虚拟机上运行Outlook。
They way I have overcome this so far is to get the user to log in to the Virtual machine and run the application from there. 到目前为止,我克服它们的方式是让用户登录到虚拟机并从那里运行应用程序。 I have added Outlook to the users StartUp folder.
我已经将Outlook添加到用户的StartUp文件夹中。 And this work if you start the XP virtual machine but not work when running the application as an "XP Mode Application".
如果启动XP虚拟机,但以“ XP模式应用程序”运行应用程序时无法运行,则此项工作有效。 Anything in the users startup folder does not seem to get executed.
用户启动文件夹中的任何内容似乎都没有执行。
One thought was to set up outlook to run as a service on the virtual machine in the hope that it would automatically do the sending of the emails, but somehow that just feels wrong. 一种想法是将Outlook设置为在虚拟机上作为服务运行,以希望它可以自动发送电子邮件,但是在某种程度上感觉不对。
Is there anyway that I can get the emails to send 无论如何,我可以收到要发送的电子邮件吗?
Is the legacy app using COM to talk to Outlook or is it executing a mailto: handler? 旧版应用程序是使用COM与Outlook通讯还是正在执行mailto:处理程序? If the latter, you could change the handler .
如果是后者,则可以更改处理程序 。
If it is indeed COM, then that's another can of worms all together. 如果确实是COM,则这是另一种蠕虫病毒。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.