Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
g++ 4.7 を使用して、Cygwin で 1 つの DLL をコンパイルしました。それは正常に動作します。しかし、MinGW で同じコードをコンパイルして DLL を使用しようとすると。アクセスが拒否されました (CX00000005) エラーでプログラムがクラッシュし、libstdc++-6.dll が問題の DLL として表示されます。
どんな助けでも大歓迎です。前もって感謝します。
アプリケーションを実行するときに、MinGW dll がないか、PATH に cygwin dll が含まれている可能性があります。正しい dll を exe と同じディレクトリにコピーしてください。