Custom C++ DLL file shows missing oleaut32.dll

Khalid Amen 1 Reputation point
2021-05-21T19:35:46.233+00:00

I have a C++ DLL file generated in VS 2019. When I use it in C# project, throws an error that unable to upload the C++ DLL file or one of its dependencies. I checked the C++ DLL file using Dependency Tool. It shows that oleaut32.dll and conbase.dll files are missing. I checked them. They are exists under Windows/System32. Even I removed them from additional dependency under property of the C++ project, but they still showing module has missing import.

Custom DLL

Developer technologies | C++
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,811 Reputation points Microsoft Employee Moderator
    2021-05-25T21:22:11.6+00:00

    There are a lot of reasons why this might be the case ranging from a missing KB fix to an issue on your dev box, but I suspect that it may be a Visual Studio issue. We have a forum dedicated to Visual Studio specialists who will be able to help you:

    If you rule out Visual Studio and are still running into issues, please let us know so we can troubleshoot this further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.