Reputation:
Hi there I have a DLL project in VS08 and it references some code from lib32eay.dll(openssl). When I build the dLL it works fine on my machine since I have openssl installed. However my clients dont have openssl installed so they will get error running my app as it references the openssl dll. How do I build a DLL project so it can include all the needed stuff so I dont need to worry about clients not having some missing 3rd party libraries etc.??
Upvotes: 0
Views: 381
Reputation: 26632
One option which would not require lib32eay.dll to be present at all is to build it as a static library (.lib) instead of a shared library (.dll). Then you would link your own DLL against the static library, and clients will only have to worry about linking to your DLL.
Upvotes: 1
Reputation: 5113
You should statically link openssl inside your project. Use the statically linkable .lib files in your openssl lib folder and your problems will be gone
Upvotes: 0