如何发布(或导出)RDPWrap的x86和x64 C ++版本?

时间:2015-08-29 01:52:06

标签: visual-c++ visual-studio-2013 rdp

我正在使用Stas'M的RDP Wrapper Library在家庭使用的功能减少的系统上启用远程桌面主机支持和并发RDP会话。但是我很难创建它的x86和x64版本。

我确信它可以在x86和x64版本上构建,因为它在文档中这样说。

  

构建二进制文件:

     

•x86 Delphi版本可以使用Embarcadero RAD Studio 2010构建

     

•可以使用Microsoft Visual Studio 2013构建x86 / x64 C ++版本

这是一个开源应用程序,它可以是found here,我正在使用 VS 2013

顺便说一句,我对VB.NET中的not感到熟悉,Visual C++Build

在VB.NET中,使用所需版本(x86或x64)发布应用程序非常容易,我只需要

创建要发布的所需版本

  1. 点击 Configuration Manager
  2. 点击 Publish
  3. 选择所需的版本为Build
  4. enter image description here

    然后发布应用程序

    1. 点击 Publish xxxx
    2. 点击 Publish xxxx(< - 我的应用名称。)
    3. 按照向导
    4. 在Visual C ++中它似乎有所不同?所以我的问题是

      1. 如何选择版本?因为它你看看screnshot它没有x64和x86版本。 Win32对应32位和x64到64位吗? enter image description here
      2. 我找不到if mh.get('start_time', None) and mh.get('end_time', None): start_time = datetime.strptime( mh.get('start_time', None), '%a, %d %b %Y %H:%M:%S') end_time = datetime.strptime( mh.get('end_time', None), '%a, %d %b %Y %H:%M:%S') (< - 其中xxxx表示应用名称),我不确定但也许是因为这是视觉c ++而且在vb.net中有所不同?

1 个答案:

答案 0 :(得分:1)

在工具栏中,点上小箭头并添加2个条目Solution ConfigurationsSolution Platforms

enter image description here

现在您可以通过组合框选择首选平台(x86或x64):

enter image description here

现在您可以在正确的平台上构建它。您还可以右键单击解决方案并选择批量构建以同时构建多个配置:

enter image description here

enter image description here

相关问题