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:
1. Microsoft Visual C++ 2008
Redistributable 9.0.21022
2. Microsoft Visual C++ 2008
Redistributable 9.0.30729
3. Microsoft Visual C++ 2008
Redistributable 9.0.30729.17
4. Microsoft Visual C++ 2008
Redistributable 9.0.30729.4148
5. Microsoft Visual C++ 2008
Redistributable 9.0.30729.6161
↧