久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

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

    <legend id='jQJK7'><style id='jQJK7'><dir id='jQJK7'><q id='jQJK7'></q></dir></style></legend>
    <tfoot id='jQJK7'></tfoot>
          <bdo id='jQJK7'></bdo><ul id='jQJK7'></ul>
      1. <i id='jQJK7'><tr id='jQJK7'><dt id='jQJK7'><q id='jQJK7'><span id='jQJK7'><b id='jQJK7'><form id='jQJK7'><ins id='jQJK7'></ins><ul id='jQJK7'></ul><sub id='jQJK7'></sub></form><legend id='jQJK7'></legend><bdo id='jQJK7'><pre id='jQJK7'><center id='jQJK7'></center></pre></bdo></b><th id='jQJK7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='jQJK7'><tfoot id='jQJK7'></tfoot><dl id='jQJK7'><fieldset id='jQJK7'></fieldset></dl></div>

        為什么 Visual Studio 找不到我的 DLL?

        Why can#39;t Visual Studio find my DLL?(為什么 Visual Studio 找不到我的 DLL?)
        • <bdo id='MjvKD'></bdo><ul id='MjvKD'></ul>
        • <i id='MjvKD'><tr id='MjvKD'><dt id='MjvKD'><q id='MjvKD'><span id='MjvKD'><b id='MjvKD'><form id='MjvKD'><ins id='MjvKD'></ins><ul id='MjvKD'></ul><sub id='MjvKD'></sub></form><legend id='MjvKD'></legend><bdo id='MjvKD'><pre id='MjvKD'><center id='MjvKD'></center></pre></bdo></b><th id='MjvKD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='MjvKD'><tfoot id='MjvKD'></tfoot><dl id='MjvKD'><fieldset id='MjvKD'></fieldset></dl></div>

              <legend id='MjvKD'><style id='MjvKD'><dir id='MjvKD'><q id='MjvKD'></q></dir></style></legend>
            • <small id='MjvKD'></small><noframes id='MjvKD'>

            • <tfoot id='MjvKD'></tfoot>

                <tbody id='MjvKD'></tbody>

                  本文介紹了為什么 Visual Studio 找不到我的 DLL?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  在 Visual Studio 2010 中,在 VC++ 目錄下 >可執行目錄,我已經指定了glew32d.dll的路徑.但是,當我運行可執行文件時,它仍然抱怨.

                  In Visual Studio 2010, under VC++ Directories > Executable Directories, I have specified the path to glew32d.dll. However, when I run the executable, it still complains.

                  另一方面,如果我將 DLL 復制到本地文件夾并運行可執行文件,則它不會抱怨.

                  On the other hand, if I copy the DLL into the local folder and run the executable then, it doesn't complain.

                  誰能告訴我如何解決這個問題?另外,為什么 Visual Studio 無法識別該路徑?

                  Can someone please tell me how to fix this? Also, why is Visual Studio not recognizing that path?

                  更新場景:我目前使用一個模板項目,我將其用作許多項目的入門代碼.該模板依賴于glew32d.dll.我通常將所有依賴的 dll 存儲在一個公共 bin 文件夾中.我希望引用這個文件夾,Visual Studio 可以從那里讀取 dll,而不必每次都復制 dll.處理這個問題的好方法是什么?

                  Update Scenario: I currently use a template project which I use as a starter code for a lot of my projects. This template depends on glew32d.dll. I usually store all dependent dlls in a common bin folder. I was hoping to reference this folder and Visual studio could read the dlls from there, instead of me having to copy the dlls everytime. What would be a good way to handle this?

                  推薦答案

                  在項目設置中指定 DLL 文件的路徑并不能確保您的應用程序在運行時找到 DLL.您只告訴 Visual Studio 如何找到它需要的文件.這與程序如何在構建后找到它需要的東西無關.

                  Specifying the path to the DLL file in your project's settings does not ensure that your application will find the DLL at run-time. You only told Visual Studio how to find the files it needs. That has nothing to do with how the program finds what it needs, once built.

                  將 DLL 文件與可執行文件放在同一文件夾中是迄今為止最簡單的解決方案.這是依賴項的默認搜索路徑,因此您無需如果你走那條路,做任何特別的事情.
                  為避免每次都手動執行此操作,您可以為您的項目創建一個構建后事件,該事件會在構建完成后自動將 DLL 復制到適當的目錄中.

                  Placing the DLL file into the same folder as the executable is by far the simplest solution. That's the default search path for dependencies, so you won't need to do anything special if you go that route.
                  To avoid having to do this manually each time, you can create a Post-Build Event for your project that will automatically copy the DLL into the appropriate directory after a build completes.

                  或者,您可以將 DLL 部署到 Windows 并排緩存,并將清單添加到您的應用程序中,指定位置.

                  Alternatively, you could deploy the DLL to the Windows side-by-side cache, and add a manifest to your application that specifies the location.

                  這篇關于為什么 Visual Studio 找不到我的 DLL?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Why do two functions have the same address?(為什么兩個函數的地址相同?)
                  Why the initializer of std::function has to be CopyConstructible?(為什么 std::function 的初始化程序必須是可復制構造的?)
                  mixing templates with polymorphism(混合模板與多態性)
                  When should I use the keyword quot;typenamequot; when using templates(我什么時候應該使用關鍵字“typename?使用模板時)
                  Dependent name resolution amp; namespace std / Standard Library(依賴名稱解析命名空間 std/標準庫)
                  gcc can compile a variadic template while clang cannot(gcc 可以編譯可變參數模板,而 clang 不能)

                    <tbody id='cxQxD'></tbody>
                  • <bdo id='cxQxD'></bdo><ul id='cxQxD'></ul>

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

                      <tfoot id='cxQxD'></tfoot>
                      1. <i id='cxQxD'><tr id='cxQxD'><dt id='cxQxD'><q id='cxQxD'><span id='cxQxD'><b id='cxQxD'><form id='cxQxD'><ins id='cxQxD'></ins><ul id='cxQxD'></ul><sub id='cxQxD'></sub></form><legend id='cxQxD'></legend><bdo id='cxQxD'><pre id='cxQxD'><center id='cxQxD'></center></pre></bdo></b><th id='cxQxD'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cxQxD'><tfoot id='cxQxD'></tfoot><dl id='cxQxD'><fieldset id='cxQxD'></fieldset></dl></div>
                            <legend id='cxQxD'><style id='cxQxD'><dir id='cxQxD'><q id='cxQxD'></q></dir></style></legend>
                            主站蜘蛛池模板: 久久一级免费视频 | 精品一区二区三区在线视频 | 欧美日韩国产一区二区 | 亚洲一区中文字幕在线观看 | 亚洲欧美中文日韩在线v日本 | 日韩成人精品视频 | 亚洲精品久久久久久国产精华液 | 在线亚洲精品 | 国产美女精品视频 | 黄色在线免费观看 | 亚洲电影专区 | www.国产| 日韩电影中文字幕在线观看 | 成人午夜视频在线观看 | 国产免费一区二区三区免费视频 | 亚洲精品久久久一区二区三区 | 久久亚洲天堂 | 毛片入口| 日本精品久久 | av无遮挡| 日韩精品久久久久久 | 久久精品视频网站 | h视频在线免费 | 亚洲精品久久久久中文字幕二区 | 一级一级一级毛片 | 99草免费视频 | 国产成人在线观看免费 | 久久成人精品视频 | 超碰在线人人 | 国产精品成av人在线视午夜片 | 亚洲午夜精品一区二区三区他趣 | 久久九| a级黄色毛片免费播放视频 国产精品视频在线观看 | 99视频在线免费观看 | 亚洲精品视频久久 | 亚洲欧美日本在线 | 久久精品99| 国产精品夜夜夜一区二区三区尤 | 久久精品国产一区二区电影 | 久久大香 | 久久成人一区二区三区 |