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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -