- Home /
Get Exception DLL Not Found
I create C++ DLL using Visual C++ 2008 SP1. In editor I placed dll file in root of project folder. I using Pinvoke to call the dll file. All is fine even build the project and place dll file in same folder as exe.
The problem is occur when I run the build in machine that doesn't have Visual C++ 2008 SP1. Get exception dll not found. I search google and they say to install Visual C++ 2008 SP1 Redistributable. I have install all Redistributable available in Microsoft website and keep getting exception dll not found.
I don't want to install Visual C++ 2008 SP1 in other machine only for running the build. Anyone has solution for this? or I have missing something?
This is the version Visual C++ 2008 redistributable that I have install in other machine:
Microsoft Visual C++ 2008 Redistributable 9.0.21022
Microsoft Visual C++ 2008 Redistributable 9.0.30729
Microsoft Visual C++ 2008 Redistributable 9.0.30729.17
Microsoft Visual C++ 2008 Redistributable 9.0.30729.4148
Microsoft Visual C++ 2008 Redistributable 9.0.30729.6161
Your answer
![](https://koobas.hobune.stream/wayback/20220613113620im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
DLL NOT FOUND EXCEPTION even after following procedure 0 Answers
UnityEngine.dll outside Unity 0 Answers
How to use Custom DLL for Hololens 0 Answers