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

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

    1. <tfoot id='GK33e'></tfoot>
    2. <small id='GK33e'></small><noframes id='GK33e'>

    3. 在 Windows 2000 中使用 Visual Studio 2010 编译的 C++ D

      时间:2023-05-23
    4. <tfoot id='mCi2T'></tfoot>
      <i id='mCi2T'><tr id='mCi2T'><dt id='mCi2T'><q id='mCi2T'><span id='mCi2T'><b id='mCi2T'><form id='mCi2T'><ins id='mCi2T'></ins><ul id='mCi2T'></ul><sub id='mCi2T'></sub></form><legend id='mCi2T'></legend><bdo id='mCi2T'><pre id='mCi2T'><center id='mCi2T'></center></pre></bdo></b><th id='mCi2T'></th></span></q></dt></tr></i><div id='mCi2T'><tfoot id='mCi2T'></tfoot><dl id='mCi2T'><fieldset id='mCi2T'></fieldset></dl></div>
        <tbody id='mCi2T'></tbody>
        • <small id='mCi2T'></small><noframes id='mCi2T'>

            <legend id='mCi2T'><style id='mCi2T'><dir id='mCi2T'><q id='mCi2T'></q></dir></style></legend>

                <bdo id='mCi2T'></bdo><ul id='mCi2T'></ul>

              • 本文介绍了在 Windows 2000 中使用 Visual Studio 2010 编译的 C++ DLL 的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                我有一个用非托管 C++ 编写的非常简单的 DLL,我可以从我的应用程序访问它.我最近切换到 Visual Studio 2010,DLL 从 55k 减少到 35k,没有代码更改,现在它不再加载到 Windows 2000 中.我没有更改任何代码或编译器设置.我对 0x0500 进行了定义设置,其中应该包括 Windows 2000 支持.有没有其他人遇到过这个问题,或者对我能做什么有任何想法?

                I have a very simple DLL written in unmanaged C++ that I access from my application. I recently switch to Visual Studio 2010, and the DLL went from 55k down to 35k with no code changes, and now it will no longer load in Windows 2000. I didn't change any code or compiler settings. I have my defines setup for 0x0500, which should include Windows 2000 support. Has anyone else run into this, or have any ideas of what I can do?

                推荐答案

                Visual Studio 2010 无法构建在 Windows 2000 上运行的二进制文件.实际上比这更糟糕,它们也不会在 Windows XP RTM 或 Windows XP Service Pack 1 上运行.这是因为 VS2010 的 C 运行时库需要 EncodePointer API,该 API 直到 SP2 才可用.

                Visual Studio 2010 cannot build binaries that run on Windows 2000. It's actually even worse than that, they won't run on Windows XP RTM or Windows XP Service Pack 1 either. This is because VS2010's C runtime library requires the EncodePointer API which is not available until SP2.

                如果您想支持早期版本的 Windows,您似乎无法安装 VS2008.您可以将整个项目移动到 Visual Studio 2008,也可以从 Visual Studio 2010 项目中定位 vc90 (Visual Studio 2008) 工具集.有关后一种方法的更多详细信息,请参阅我的相关问题的答案 此处.

                It appears you're stuck building with installing VS2008 if you want to support earlier versions of Windows. You can either move your entire project to Visual Studio 2008 or you can target the vc90 (Visual Studio 2008) toolset from within your Visual Studio 2010 projects. For more details on the latter method, see this anwser to my related question here.

                这篇关于在 Windows 2000 中使用 Visual Studio 2010 编译的 C++ DLL 的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:在使用 cmake 构建的项目中添加头文件和 .cpp 文件 下一篇:如何在命令行中使用 MS 代码覆盖工具?

                相关文章

                最新文章

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

                1. <small id='kpgRR'></small><noframes id='kpgRR'>

                  <tfoot id='kpgRR'></tfoot>

                  <legend id='kpgRR'><style id='kpgRR'><dir id='kpgRR'><q id='kpgRR'></q></dir></style></legend>