1. <legend id='yav9q'><style id='yav9q'><dir id='yav9q'><q id='yav9q'></q></dir></style></legend>
    • <bdo id='yav9q'></bdo><ul id='yav9q'></ul>

    <small id='yav9q'></small><noframes id='yav9q'>

    1. <tfoot id='yav9q'></tfoot>

      <i id='yav9q'><tr id='yav9q'><dt id='yav9q'><q id='yav9q'><span id='yav9q'><b id='yav9q'><form id='yav9q'><ins id='yav9q'></ins><ul id='yav9q'></ul><sub id='yav9q'></sub></form><legend id='yav9q'></legend><bdo id='yav9q'><pre id='yav9q'><center id='yav9q'></center></pre></bdo></b><th id='yav9q'></th></span></q></dt></tr></i><div id='yav9q'><tfoot id='yav9q'></tfoot><dl id='yav9q'><fieldset id='yav9q'></fieldset></dl></div>

      使用 Visual Studio 2012 并使用旧平台工具集进行编译?

      时间:2023-08-29
        <tbody id='6GZcH'></tbody>

        <tfoot id='6GZcH'></tfoot>
        <i id='6GZcH'><tr id='6GZcH'><dt id='6GZcH'><q id='6GZcH'><span id='6GZcH'><b id='6GZcH'><form id='6GZcH'><ins id='6GZcH'></ins><ul id='6GZcH'></ul><sub id='6GZcH'></sub></form><legend id='6GZcH'></legend><bdo id='6GZcH'><pre id='6GZcH'><center id='6GZcH'></center></pre></bdo></b><th id='6GZcH'></th></span></q></dt></tr></i><div id='6GZcH'><tfoot id='6GZcH'></tfoot><dl id='6GZcH'><fieldset id='6GZcH'></fieldset></dl></div>

          <small id='6GZcH'></small><noframes id='6GZcH'>

            <bdo id='6GZcH'></bdo><ul id='6GZcH'></ul>
            <legend id='6GZcH'><style id='6GZcH'><dir id='6GZcH'><q id='6GZcH'></q></dir></style></legend>

                本文介绍了使用 Visual Studio 2012 并使用旧平台工具集进行编译?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                问题

                我正在使用 Visual Studio 2012 来开发 C++ DLL.在某些机器上,无法加载这些 DLL,因为缺少设置为v110"的平台工具集.

                I'm using Visual Studio 2012 to develop C++ DLLs. On some machines these DLLs can not be loaded, because the platform toolset, which is set to "v110" is missing.

                我尝试安装较旧的 c++ 运行时.他们没有安装,因为已经安装了较新的版本".我也安装了当前的Windows SDK,但除了v110之外仍然没有其他选项可供选择.

                I have tried to install older c++ runtimes. They didn't install because "a newer version is already installed". I also installed the current Windows SDK, but there are still no other items to choose from than v110.

                问题

                如何使用旧版本的 C++ 运行时编译我的 C++ DLL,使其能够在非开发人员的机器上运行?

                How can I compile my C++ DLL with an older version of the C++ runtime so it will run on non-developer machines?

                推荐答案

                根据 此页面MSDN,您需要有相应版本的Visual Studio(2008或2010),或者平台工具集"下拉列表中列出这些版本的相关Windows SDK:

                According to this page on MSDN, you need to have the corresponding version of Visual Studio (2008 or 2010), or the relevant Windows SDK for the "Platform Toolset" drop down to list those versions:

                要更改目标平台工具集,您必须安装相关版本的 Visual Studio 或 Windows 平台 SDK.

                To change the target platform toolset, you must have the associated version of Visual Studio or the Windows Platform SDK installed.

                您似乎对控制哪个编译器/链接器/等的平台工具集"有点困惑.用于构建您的应用程序,以及运行您的应用程序所需的Visual C++ Redistributable".您无法在用户的 PC 上安装平台工具集",也不会通过在您的开发 PC 上安装特定的Visual C++ Redistributable"来使其可用.

                You also seem to be a little bit confused between "Platform Toolset", which controls which compiler/linker/etc. is used to build your application, and "Visual C++ Redistributable", which is needed to run your application. You can't install a "Platform Toolset" on a user's PC, and nor will you make one available by installing a particular "Visual C++ Redistributable" on your development PC.

                此外,据我所知,Visual C++ Redistributable 不包括 MFC 运行时.它们可作为单独的 MSI 合并模块 (MSM) 使用.

                Also, as far as I know, the Visual C++ Redistributable doesn't include the MFC runtimes. They're available as a separate MSI merge module (MSM).

                这篇关于使用 Visual Studio 2012 并使用旧平台工具集进行编译?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:.dll、.lib、.h 文件之间有什么区别? 下一篇:获取 DLL 中导出函数的签名

                相关文章

                <i id='hFUJ7'><tr id='hFUJ7'><dt id='hFUJ7'><q id='hFUJ7'><span id='hFUJ7'><b id='hFUJ7'><form id='hFUJ7'><ins id='hFUJ7'></ins><ul id='hFUJ7'></ul><sub id='hFUJ7'></sub></form><legend id='hFUJ7'></legend><bdo id='hFUJ7'><pre id='hFUJ7'><center id='hFUJ7'></center></pre></bdo></b><th id='hFUJ7'></th></span></q></dt></tr></i><div id='hFUJ7'><tfoot id='hFUJ7'></tfoot><dl id='hFUJ7'><fieldset id='hFUJ7'></fieldset></dl></div>
                <tfoot id='hFUJ7'></tfoot>
                <legend id='hFUJ7'><style id='hFUJ7'><dir id='hFUJ7'><q id='hFUJ7'></q></dir></style></legend>
                  • <bdo id='hFUJ7'></bdo><ul id='hFUJ7'></ul>

                    <small id='hFUJ7'></small><noframes id='hFUJ7'>