c++ - Link external libraries portably? -


i've got .dll file created in vc++ 2008 needs distributed, requires external resources (namely openssl libraries) operate. dll compiles , runs on own system, other system appropriate external libraries manually installed on them, need .dll contain necessary data itself.

at present external resources linked via

#pragma comment(lib, "libeay32.lib") #pragma comment(lib, "ssleay32.lib") #pragma comment(lib, "ws2_32.lib") 

and that's not quite cutting it. there way have of included in dll?

include openssl dlls distribution, or link dll static openssl libraries. install.w32:

...
can build static version of library using makefile ms\nt.mak
...

Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -