c - Win32: Using functions from a static .lib inside a .dll -


i relatively new win32 native programming. have written small c library windows. uses functions polarssl. polarssl open source library distributed vc++ .sln file, can built , generates static .lib file.

originally, library built static .lib too, , programs want make use of have link polarssl , library. both libraries written in c (not c++).

now need convert library .dll. can change code export functions , recompile .dll, wanted know if can leave polarssl .lib file untouched. application not need functions polarssl, use functions library. want convert .dll because want call functions mozilla firefox add on (using js-ctypes).

so, can link static .lib polarssl lib .dll library , export functions .dll?

thanks!

yes, that's possible. have full copy of polarssl contained in dll, without of static lib exposed dll.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -